Resource Load Statistics: Merge of dataRecordsRemoved should use std::max()
authorwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Aug 2017 00:03:55 +0000 (00:03 +0000)
committerwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Aug 2017 00:03:55 +0000 (00:03 +0000)
commit08f8d220b79292cff56460601883678953df63f5
tree0fbca9357fac27a3efd70ca9c2da7019b35708b4
parent163a246376d9b49795959b2cc4e9cc835a769bcc
Resource Load Statistics: Merge of dataRecordsRemoved should use std::max()
https://bugs.webkit.org/show_bug.cgi?id=175348
<rdar://problem/33785695>

Reviewed by Chris Dumez.

No new tests. Online change of a statistic that doesn't affect logic flow.

* loader/ResourceLoadStatistics.cpp:
(WebCore::ResourceLoadStatistics::merge):
    Now uses std::max() instead of addition.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/loader/ResourceLoadStatistics.cpp