Resource Load Statistics: Fix decoder key isPrevalentResource->isVeryPrevalentResource
authorwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Mar 2018 21:03:36 +0000 (21:03 +0000)
committerwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Mar 2018 21:03:36 +0000 (21:03 +0000)
https://bugs.webkit.org/show_bug.cgi?id=183950
<rdar://problem/38806275>

Reviewed by Brent Fulgham.

* loader/ResourceLoadStatistics.cpp:
(WebCore::ResourceLoadStatistics::decode):
    Now isVeryPrevalentResource is decoded to the correct field.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229919 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/loader/ResourceLoadStatistics.cpp

index 0a6a506..75bab23 100644 (file)
@@ -1,3 +1,15 @@
+2018-03-23  John Wilander  <wilander@apple.com>
+
+        Resource Load Statistics: Fix decoder key isPrevalentResource->isVeryPrevalentResource
+        https://bugs.webkit.org/show_bug.cgi?id=183950
+        <rdar://problem/38806275>
+
+        Reviewed by Brent Fulgham.
+
+        * loader/ResourceLoadStatistics.cpp:
+        (WebCore::ResourceLoadStatistics::decode):
+            Now isVeryPrevalentResource is decoded to the correct field.
+
 2018-03-23  Youenn Fablet  <youenn@apple.com>
 
         WebProcessPool should not ask to register all clients for each service worker process creation
index 2fdee44..4df25da 100644 (file)
@@ -151,7 +151,7 @@ bool ResourceLoadStatistics::decode(KeyedDecoder& decoder, unsigned modelVersion
         return false;
 
     if (modelVersion >= 12) {
-        if (!decoder.decodeBool("isVeryPrevalentResource", isPrevalentResource))
+        if (!decoder.decodeBool("isVeryPrevalentResource", isVeryPrevalentResource))
             return false;
     }