Title: [273694] trunk/Source/WebKit
Revision
273694
Author
[email protected]
Date
2021-03-01 15:06:10 -0800 (Mon, 01 Mar 2021)

Log Message

[WinCairo] Building with ENABLE_SERVICE_WORKER=OFF fails
https://bugs.webkit.org/show_bug.cgi?id=222566

Unreviewed build fix.


* UIProcess/WebProcessPool.cpp: Only compile a method when service
worker is enabled.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (273693 => 273694)


--- trunk/Source/WebKit/ChangeLog	2021-03-01 22:58:01 UTC (rev 273693)
+++ trunk/Source/WebKit/ChangeLog	2021-03-01 23:06:10 UTC (rev 273694)
@@ -1,3 +1,13 @@
+2021-03-01  Stephan Szabo  <[email protected]>
+
+        [WinCairo] Building with ENABLE_SERVICE_WORKER=OFF fails
+        https://bugs.webkit.org/show_bug.cgi?id=222566
+
+        Unreviewed build fix.
+
+        * UIProcess/WebProcessPool.cpp: Only compile a method when service
+        worker is enabled.
+
 2021-03-01  Chris Dumez  <[email protected]>
 
         Have WebProcessPool::processForRegistrableDomain() return a Ref<WebProcessProxy>

Modified: trunk/Source/WebKit/UIProcess/WebProcessPool.cpp (273693 => 273694)


--- trunk/Source/WebKit/UIProcess/WebProcessPool.cpp	2021-03-01 22:58:01 UTC (rev 273693)
+++ trunk/Source/WebKit/UIProcess/WebProcessPool.cpp	2021-03-01 23:06:10 UTC (rev 273694)
@@ -1011,6 +1011,7 @@
     return createNewWebProcess(&websiteDataStore);
 }
 
+#if ENABLE(SERVICE_WORKER)
 UserContentControllerIdentifier WebProcessPool::userContentControllerIdentifierForServiceWorkers()
 {
     if (!m_userContentControllerForServiceWorker)
@@ -1018,6 +1019,7 @@
 
     return m_userContentControllerForServiceWorker->identifier();
 }
+#endif
 
 Ref<WebPageProxy> WebProcessPool::createWebPage(PageClient& pageClient, Ref<API::PageConfiguration>&& pageConfiguration)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to