Changeset 220430 in webkit
- Timestamp:
- Aug 8, 2017 5:03:55 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r220427 r220430 1 2017-08-08 John Wilander <wilander@apple.com> 2 3 Resource Load Statistics: Merge of dataRecordsRemoved should use std::max() 4 https://bugs.webkit.org/show_bug.cgi?id=175348 5 <rdar://problem/33785695> 6 7 Reviewed by Chris Dumez. 8 9 No new tests. Online change of a statistic that doesn't affect logic flow. 10 11 * loader/ResourceLoadStatistics.cpp: 12 (WebCore::ResourceLoadStatistics::merge): 13 Now uses std::max() instead of addition. 14 1 15 2017-08-08 Brent Fulgham <bfulgham@apple.com> 2 16 -
trunk/Source/WebCore/loader/ResourceLoadStatistics.cpp
r219319 r220430 227 227 // Prevalent resource stats 228 228 isPrevalentResource |= other.isPrevalentResource; 229 dataRecordsRemoved += other.dataRecordsRemoved;229 dataRecordsRemoved = std::max(dataRecordsRemoved, other.dataRecordsRemoved); 230 230 231 231 // In-memory only
Note: See TracChangeset
for help on using the changeset viewer.