Title: [260405] trunk/Source/WebKit
Revision
260405
Author
[email protected]
Date
2020-04-20 16:08:51 -0700 (Mon, 20 Apr 2020)

Log Message

Unreviewed macCatalyst build fix.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::disableServiceWorkerEntitlementInNetworkProcess):
(WebKit::WebPageProxy::clearServiceWorkerEntitlementOverride):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (260404 => 260405)


--- trunk/Source/WebKit/ChangeLog	2020-04-20 22:32:59 UTC (rev 260404)
+++ trunk/Source/WebKit/ChangeLog	2020-04-20 23:08:51 UTC (rev 260405)
@@ -1,3 +1,11 @@
+2020-04-20  Kate Cheney  <[email protected]>
+
+        Unreviewed macCatalyst build fix.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::disableServiceWorkerEntitlementInNetworkProcess):
+        (WebKit::WebPageProxy::clearServiceWorkerEntitlementOverride):
+
 2020-04-20  Simon Fraser  <[email protected]>
 
         Scrolling with background-attachment: fixed needs to trigger repaints

Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (260404 => 260405)


--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2020-04-20 22:32:59 UTC (rev 260404)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2020-04-20 23:08:51 UTC (rev 260405)
@@ -3162,7 +3162,7 @@
 
 void WebPageProxy::disableServiceWorkerEntitlementInNetworkProcess()
 {
-#if PLATFORM(IOS_FAMILY)
+#if PLATFORM(IOS_FAMILY) && !PLATFORM(MACCATALYST)
     if (auto* networkProcess = m_process->processPool().networkProcess()) {
         if (!networkProcess->canSendMessage())
             return;
@@ -3173,7 +3173,7 @@
 
 void WebPageProxy::clearServiceWorkerEntitlementOverride(CompletionHandler<void()>&& completionHandler)
 {
-#if PLATFORM(IOS_FAMILY)
+#if PLATFORM(IOS_FAMILY) && !PLATFORM(MACCATALYST)
     auto callbackAggregator = CallbackAggregator::create(WTFMove(completionHandler));
     sendWithAsyncReply(Messages::WebPage::ClearServiceWorkerEntitlementOverride(), [callbackAggregator = callbackAggregator.copyRef()] { });
     if (auto* networkProcess = m_process->processPool().networkProcess()) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to