Title: [283834] trunk/Source/WebKit
Revision
283834
Author
[email protected]
Date
2021-10-08 13:01:18 -0700 (Fri, 08 Oct 2021)

Log Message

Fix build break after r283796 when ENABLE_SERVICE_WORKER is off
https://bugs.webkit.org/show_bug.cgi?id=231440

Unreviewed build fix.


* UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::WebsiteDataStore::hasServiceWorkerBackgroundActivityForTesting const):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (283833 => 283834)


--- trunk/Source/WebKit/ChangeLog	2021-10-08 19:53:57 UTC (rev 283833)
+++ trunk/Source/WebKit/ChangeLog	2021-10-08 20:01:18 UTC (rev 283834)
@@ -1,3 +1,13 @@
+2021-10-08  Basuke Suzuki  <[email protected]>
+
+        Fix build break after r283796 when ENABLE_SERVICE_WORKER is off
+        https://bugs.webkit.org/show_bug.cgi?id=231440
+
+        Unreviewed build fix.
+
+        * UIProcess/WebsiteData/WebsiteDataStore.cpp:
+        (WebKit::WebsiteDataStore::hasServiceWorkerBackgroundActivityForTesting const):
+
 2021-10-08  Myles C. Maxfield  <[email protected]>
 
         [GPU Process] Unique RenderingResourceIdentifiers Part 4: Migrate PendingWakeupInformation to QualifiedRenderingResourceIdentifier

Modified: trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp (283833 => 283834)


--- trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp	2021-10-08 19:53:57 UTC (rev 283833)
+++ trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp	2021-10-08 20:01:18 UTC (rev 283834)
@@ -1009,7 +1009,11 @@
 
 bool WebsiteDataStore::hasServiceWorkerBackgroundActivityForTesting() const
 {
+#if ENABLE(SERVICE_WORKER)
     return WTF::anyOf(WebProcessPool::allProcessPools(), [](auto& pool) { return pool->hasServiceWorkerBackgroundActivityForTesting(); });
+#else
+    return false;
+#endif
 }
 
 #if ENABLE(INTELLIGENT_TRACKING_PREVENTION)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to