Fix IOSMAC build
authorsihui_liu@apple.com <sihui_liu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Sep 2018 21:01:21 +0000 (21:01 +0000)
committersihui_liu@apple.com <sihui_liu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Sep 2018 21:01:21 +0000 (21:01 +0000)
https://bugs.webkit.org/show_bug.cgi?id=190021

Reviewed by Alex Christensen.

* NetworkProcess/mac/NetworkProcessMac.mm:
(WebKit::NetworkProcess::parentProcessHasServiceWorkerEntitlement const):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236568 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/mac/NetworkProcessMac.mm

index 662e16f..a160783 100644 (file)
@@ -1,3 +1,13 @@
+2018-09-27  Sihui Liu  <sihui_liu@apple.com>
+
+        Fix IOSMAC build
+        https://bugs.webkit.org/show_bug.cgi?id=190021
+
+        Reviewed by Alex Christensen.
+
+        * NetworkProcess/mac/NetworkProcessMac.mm:
+        (WebKit::NetworkProcess::parentProcessHasServiceWorkerEntitlement const):
+
 2018-09-27  John Wilander  <wilander@apple.com>
 
         Resource Load Statistics: Remove temporary compatibility fix for auto-dismiss popups
index bd7a24e..8b0e6fd 100644 (file)
@@ -150,6 +150,13 @@ void NetworkProcess::platformTerminate()
     }
 }
 
+#if PLATFORM(IOSMAC)
+bool NetworkProcess::parentProcessHasServiceWorkerEntitlement() const
+{
+    return true;
+}
+#endif
+
 } // namespace WebKit
 
 #endif // PLATFORM(MAC)