Title: [170212] trunk/Source/WebKit2
Revision
170212
Author
[email protected]
Date
2014-06-20 15:05:04 -0700 (Fri, 20 Jun 2014)

Log Message

Always use XPC on iOS
https://bugs.webkit.org/show_bug.cgi?id=134130

Reviewed by Sam Weinig.

* UIProcess/ios/WebProcessProxyIOS.mm:
(WebKit::WebProcessProxy::platformGetLaunchOptions):
(WebKit::shouldUseXPC): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (170211 => 170212)


--- trunk/Source/WebKit2/ChangeLog	2014-06-20 22:00:35 UTC (rev 170211)
+++ trunk/Source/WebKit2/ChangeLog	2014-06-20 22:05:04 UTC (rev 170212)
@@ -1,5 +1,16 @@
 2014-06-20  Anders Carlsson  <[email protected]>
 
+        Always use XPC on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=134130
+
+        Reviewed by Sam Weinig.
+
+        * UIProcess/ios/WebProcessProxyIOS.mm:
+        (WebKit::WebProcessProxy::platformGetLaunchOptions):
+        (WebKit::shouldUseXPC): Deleted.
+
+2014-06-20  Anders Carlsson  <[email protected]>
+
         Fix build.
 
         * Shared/SessionState.cpp:

Modified: trunk/Source/WebKit2/UIProcess/ios/WebProcessProxyIOS.mm (170211 => 170212)


--- trunk/Source/WebKit2/UIProcess/ios/WebProcessProxyIOS.mm	2014-06-20 22:00:35 UTC (rev 170211)
+++ trunk/Source/WebKit2/UIProcess/ios/WebProcessProxyIOS.mm	2014-06-20 22:05:04 UTC (rev 170212)
@@ -41,25 +41,13 @@
     return false;
 }
 
-static bool shouldUseXPC()
-{
-    if (id value = [[NSUserDefaults standardUserDefaults] objectForKey:@"WebKit2UseXPCServiceForWebProcess"])
-        return [value boolValue];
-
-#if USE(XPC_SERVICES)
-    return true;
-#else
-    return false;
-#endif
-}
-
 void WebProcessProxy::platformGetLaunchOptions(ProcessLauncher::LaunchOptions& launchOptions)
 {
     // We want the web process to match the architecture of the UI process.
     launchOptions.architecture = ProcessLauncher::LaunchOptions::MatchCurrentArchitecture;
     launchOptions.executableHeap = false;
 
-    launchOptions.useXPC = shouldUseXPC();
+    launchOptions.useXPC = true;
 }
 
 bool WebProcessProxy::allPagesAreProcessSuppressible() const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to