Resource Load Statistics: Remove unused calls to WebResourceLoadStatisticsStore:logTe...
authorwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 20 Jan 2018 00:10:01 +0000 (00:10 +0000)
committerwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 20 Jan 2018 00:10:01 +0000 (00:10 +0000)
https://bugs.webkit.org/show_bug.cgi?id=181890
<rdar://problem/36674772>

Unreviewed API test fix.

* UIProcess/WebResourceLoadStatisticsStore.cpp:
(WebKit::WebResourceLoadStatisticsStore::scheduleClearInMemoryAndPersistent):

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

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp

index 3556075..38e8844 100644 (file)
@@ -1,3 +1,14 @@
+2018-01-19  John Wilander  <wilander@apple.com>
+
+        Resource Load Statistics: Remove unused calls to WebResourceLoadStatisticsStore:logTestingEvent() to fix API test
+        https://bugs.webkit.org/show_bug.cgi?id=181890
+        <rdar://problem/36674772>
+
+        Unreviewed API test fix.
+
+        * UIProcess/WebResourceLoadStatisticsStore.cpp:
+        (WebKit::WebResourceLoadStatisticsStore::scheduleClearInMemoryAndPersistent):
+
 2018-01-19  Youenn Fablet  <youenn@apple.com>
 
         Do not go to the storage process when registering a service worker client if there is no service worker registered
index a202f6d..d86384f 100644 (file)
@@ -603,11 +603,9 @@ void WebResourceLoadStatisticsStore::scheduleClearInMemoryAndPersistent(ShouldGr
         if (shouldGrandfather == ShouldGrandfather::Yes)
             grandfatherExistingWebsiteData([this, protectedThis = makeRef(*this), callback = WTFMove(callback)]() {
                 callback();
-                logTestingEvent(ASCIILiteral("ClearedInMemoryAndPersistent"));
             });
         else {
             callback();
-            logTestingEvent(ASCIILiteral("ClearedInMemoryAndPersistent"));
         }
     });
 }