Title: [240308] trunk/Source/WebKit
Revision
240308
Author
[email protected]
Date
2019-01-22 16:32:24 -0800 (Tue, 22 Jan 2019)

Log Message

Unreviewed, fix -Wunused-but-set-variable warning
https://bugs.webkit.org/show_bug.cgi?id=193660
<rdar://problem/47433602>

* UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::WebsiteDataStore::removeData):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (240307 => 240308)


--- trunk/Source/WebKit/ChangeLog	2019-01-23 00:24:04 UTC (rev 240307)
+++ trunk/Source/WebKit/ChangeLog	2019-01-23 00:32:24 UTC (rev 240308)
@@ -1,5 +1,14 @@
 2019-01-22  Michael Catanzaro  <[email protected]>
 
+        Unreviewed, fix -Wunused-but-set-variable warning
+        https://bugs.webkit.org/show_bug.cgi?id=193660
+        <rdar://problem/47433602>
+
+        * UIProcess/WebsiteData/WebsiteDataStore.cpp:
+        (WebKit::WebsiteDataStore::removeData):
+
+2019-01-22  Michael Catanzaro  <[email protected]>
+
         Unreviewed, further build fixes after r240292
         https://bugs.webkit.org/show_bug.cgi?id=193580
         <rdar://problem/47457742>

Modified: trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp (240307 => 240308)


--- trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp	2019-01-23 00:24:04 UTC (rev 240307)
+++ trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp	2019-01-23 00:32:24 UTC (rev 240308)
@@ -757,7 +757,9 @@
     }
 #endif
 
+#if ENABLE(RESOURCE_LOAD_STATISTICS)
     bool didNotifyNetworkProcessToDeleteWebsiteData = false;
+#endif
     auto networkProcessAccessType = computeNetworkProcessAccessTypeForDataRemoval(dataTypes, !isPersistent());
     if (networkProcessAccessType != ProcessAccessType::None) {
         for (auto& processPool : processPools()) {
@@ -779,7 +781,9 @@
             processPool->networkProcess()->deleteWebsiteData(m_sessionID, dataTypes, modifiedSince, [callbackAggregator, processPool] {
                 callbackAggregator->removePendingCallback();
             });
+#if ENABLE(RESOURCE_LOAD_STATISTICS)
             didNotifyNetworkProcessToDeleteWebsiteData = true;
+#endif
         }
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to