Title: [292041] trunk/Source/WebKit
Revision
292041
Author
[email protected]
Date
2022-03-29 10:30:53 -0700 (Tue, 29 Mar 2022)

Log Message

[Playstation] Fix build break after r291979 if ENABLE_SERVICE_WORKER is off
https://bugs.webkit.org/show_bug.cgi?id=238471

Patch by Jigen Zhou <[email protected]> on 2022-03-29
Reviewed by Don Olmstead.

Build fix for playstation platform after r291979 to support ServiceWorkerClients.openWindow.
This patch resolves compiling errors occurs in WebPageProxy::callLoadCompletionHandlersIfNecessary
if ENABLE_SERVICE_WORKER is off.

* UIProcess/WebPageProxy.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (292040 => 292041)


--- trunk/Source/WebKit/ChangeLog	2022-03-29 17:29:49 UTC (rev 292040)
+++ trunk/Source/WebKit/ChangeLog	2022-03-29 17:30:53 UTC (rev 292041)
@@ -1,3 +1,16 @@
+2022-03-29  Jigen Zhou  <[email protected]>
+
+        [Playstation] Fix build break after r291979 if ENABLE_SERVICE_WORKER is off
+        https://bugs.webkit.org/show_bug.cgi?id=238471
+
+        Reviewed by Don Olmstead.
+
+        Build fix for playstation platform after r291979 to support ServiceWorkerClients.openWindow. 
+        This patch resolves compiling errors occurs in WebPageProxy::callLoadCompletionHandlersIfNecessary 
+        if ENABLE_SERVICE_WORKER is off.
+
+        * UIProcess/WebPageProxy.cpp:
+
 2022-03-29  Patrick Angle  <[email protected]>
 
         Web Inspector: [Cocoa] Indicate a request was sent through proxy/private relay in Network tab

Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (292040 => 292041)


--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2022-03-29 17:29:49 UTC (rev 292040)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2022-03-29 17:30:53 UTC (rev 292041)
@@ -4949,10 +4949,10 @@
 #if ENABLE(SERVICE_WORKER)
     if (m_isServiceWorkerPage && m_serviceWorkerLaunchCompletionHandler && !success)
         m_serviceWorkerLaunchCompletionHandler(false);
-#endif
 
     if (m_serviceWorkerOpenWindowCompletionCallback)
         m_serviceWorkerOpenWindowCompletionCallback(success);
+#endif
 }
 
 #if ENABLE(INTELLIGENT_TRACKING_PREVENTION)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to