Title: [290407] trunk/Source/WebKit
Revision
290407
Author
[email protected]
Date
2022-02-23 17:43:16 -0800 (Wed, 23 Feb 2022)

Log Message

Fix !ENABLE(SERVICE_WORKER) build after r290387
https://bugs.webkit.org/show_bug.cgi?id=237119

Unreviewed build fix.


* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::establishRemoteWorkerContextConnectionToNetworkProcess):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (290406 => 290407)


--- trunk/Source/WebKit/ChangeLog	2022-02-24 01:31:29 UTC (rev 290406)
+++ trunk/Source/WebKit/ChangeLog	2022-02-24 01:43:16 UTC (rev 290407)
@@ -1,3 +1,13 @@
+2022-02-23  Don Olmstead  <[email protected]>
+
+        Fix !ENABLE(SERVICE_WORKER) build after r290387
+        https://bugs.webkit.org/show_bug.cgi?id=237119
+
+        Unreviewed build fix.
+
+        * WebProcess/WebProcess.cpp:
+        (WebKit::WebProcess::establishRemoteWorkerContextConnectionToNetworkProcess):
+
 2022-02-23  Maxim Cournoyer  <[email protected]>
 
         [WPE][GTK] Paths should be canonicalized before calling bwrap

Modified: trunk/Source/WebKit/WebProcess/WebProcess.cpp (290406 => 290407)


--- trunk/Source/WebKit/WebProcess/WebProcess.cpp	2022-02-24 01:31:29 UTC (rev 290406)
+++ trunk/Source/WebKit/WebProcess/WebProcess.cpp	2022-02-24 01:43:16 UTC (rev 290407)
@@ -1935,8 +1935,10 @@
     auto& ipcConnection = ensureNetworkProcessConnection().connection();
     switch (workerType) {
     case RemoteWorkerType::ServiceWorker:
+#if ENABLE(SERVICE_WORKER)
         SWContextManager::singleton().setConnection(makeUnique<WebSWContextManagerConnection>(ipcConnection, WTFMove(registrableDomain), serviceWorkerPageIdentifier, pageGroupID, webPageProxyID, pageID, store, WTFMove(initializationData)));
         SWContextManager::singleton().connection()->establishConnection(WTFMove(completionHandler));
+#endif
         break;
     case RemoteWorkerType::SharedWorker:
         SharedWorkerContextManager::singleton().setConnection(makeUnique<WebSharedWorkerContextManagerConnection>(ipcConnection, WTFMove(registrableDomain), pageGroupID, webPageProxyID, pageID, store, WTFMove(initializationData)));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to