Title: [292583] trunk/Source/WebKit
Revision
292583
Author
stephan.sz...@sony.com
Date
2022-04-07 17:49:58 -0700 (Thu, 07 Apr 2022)

Log Message

Build-fix for not ENABLE(SERVICE_WORKER) after r292539
https://bugs.webkit.org/show_bug.cgi?id=238957

Unreviewed build fix.


* UIProcess/WebPageProxy.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (292582 => 292583)


--- trunk/Source/WebKit/ChangeLog	2022-04-08 00:47:15 UTC (rev 292582)
+++ trunk/Source/WebKit/ChangeLog	2022-04-08 00:49:58 UTC (rev 292583)
@@ -1,3 +1,12 @@
+2022-04-07  Stephan Szabo  <stephan.sz...@sony.com>
+
+        Build-fix for not ENABLE(SERVICE_WORKER) after r292539
+        https://bugs.webkit.org/show_bug.cgi?id=238957
+
+        Unreviewed build fix.
+
+        * UIProcess/WebPageProxy.cpp:
+
 2022-04-07  Simon Fraser  <simon.fra...@apple.com>
 
         Add a LayerBacking RenderingPurpose

Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (292582 => 292583)


--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2022-04-08 00:47:15 UTC (rev 292582)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2022-04-08 00:49:58 UTC (rev 292583)
@@ -4610,8 +4610,10 @@
 
     m_mainFrame = WebFrameProxy::create(*this, frameID);
 
+#if ENABLE(SERVICE_WORKER)
     if (m_serviceWorkerOpenWindowCompletionCallback)
         m_mainFrame->setNavigationCallback(WTFMove(m_serviceWorkerOpenWindowCompletionCallback));
+#endif
 
     // Add the frame to the process wide map.
     m_process->frameCreated(frameID, *m_mainFrame);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to