Title: [196548] trunk/Source/WebKit2
Revision
196548
Author
[email protected]
Date
2016-02-13 00:49:22 -0800 (Sat, 13 Feb 2016)

Log Message

Unreviewed. Fix GTK+ and hopefully EFL build after r196499.

* UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
(WebKit::ProcessLauncher::launchProcess):
* UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
(WebKit::ProcessLauncher::launchProcess):
* UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp:
(WebKit::PluginProcessProxy::platformGetLaunchOptions):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (196547 => 196548)


--- trunk/Source/WebKit2/ChangeLog	2016-02-13 07:21:59 UTC (rev 196547)
+++ trunk/Source/WebKit2/ChangeLog	2016-02-13 08:49:22 UTC (rev 196548)
@@ -1,3 +1,14 @@
+2016-02-13  Carlos Garcia Campos  <[email protected]>
+
+        Unreviewed. Fix GTK+ and hopefully EFL build after r196499.
+
+        * UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
+        (WebKit::ProcessLauncher::launchProcess):
+        * UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
+        (WebKit::ProcessLauncher::launchProcess):
+        * UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp:
+        (WebKit::PluginProcessProxy::platformGetLaunchOptions):
+
 2016-02-12  Beth Dakin  <[email protected]>
 
         REGRESSION: Link preview is slow and unreliable

Modified: trunk/Source/WebKit2/UIProcess/Launcher/efl/ProcessLauncherEfl.cpp (196547 => 196548)


--- trunk/Source/WebKit2/UIProcess/Launcher/efl/ProcessLauncherEfl.cpp	2016-02-13 07:21:59 UTC (rev 196547)
+++ trunk/Source/WebKit2/UIProcess/Launcher/efl/ProcessLauncherEfl.cpp	2016-02-13 08:49:22 UTC (rev 196548)
@@ -105,20 +105,21 @@
 
     String processCmdPrefix, executablePath, pluginPath;
     switch (m_launchOptions.processType) {
-    case WebProcess:
+    case ProcessLauncher::ProcessType::Web:
         executablePath = executablePathOfWebProcess();
         break;
 #if ENABLE(PLUGIN_PROCESS)
-    case PluginProcess:
+    case ProcessLauncher::ProcessType::Plugin64:
+    case ProcessLauncher::ProcessType::Plugin32:
         executablePath = executablePathOfPluginProcess();
         pluginPath = m_launchOptions.extraInitializationData.get("plugin-path");
         break;
 #endif
-    case NetworkProcess:
+    case ProcessLauncher::ProcessType::Network:
         executablePath = executablePathOfNetworkProcess();
         break;
 #if ENABLE(DATABASE_PROCESS)
-    case DatabaseProcess:
+    case ProcessLauncher::ProcessType::Database:
         executablePath = executablePathOfDatabaseProcess();
         break;
 #endif

Modified: trunk/Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp (196547 => 196548)


--- trunk/Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp	2016-02-13 07:21:59 UTC (rev 196547)
+++ trunk/Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp	2016-02-13 08:49:22 UTC (rev 196548)
@@ -62,11 +62,12 @@
     String executablePath, pluginPath;
     CString realExecutablePath, realPluginPath;
     switch (m_launchOptions.processType) {
-    case WebProcess:
+    case ProcessLauncher::ProcessType::Web:
         executablePath = executablePathOfWebProcess();
         break;
 #if ENABLE(NETSCAPE_PLUGIN_API)
-    case PluginProcess:
+    case ProcessLauncher::ProcessType::Plugin64:
+    case ProcessLauncher::ProcessType::Plugin32:
         executablePath = executablePathOfPluginProcess();
 #if ENABLE(PLUGIN_PROCESS_GTK2)
         if (m_launchOptions.extraInitializationData.contains("requires-gtk2"))
@@ -76,11 +77,11 @@
         realPluginPath = fileSystemRepresentation(pluginPath);
         break;
 #endif
-    case NetworkProcess:
+    case ProcessLauncher::ProcessType::Network:
         executablePath = executablePathOfNetworkProcess();
         break;
 #if ENABLE(DATABASE_PROCESS)
-    case DatabaseProcess:
+    case ProcessLauncher::ProcessType::Database:
         executablePath = executablePathOfDatabaseProcess();
         break;
 #endif

Modified: trunk/Source/WebKit2/UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp (196547 => 196548)


--- trunk/Source/WebKit2/UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp	2016-02-13 07:21:59 UTC (rev 196547)
+++ trunk/Source/WebKit2/UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp	2016-02-13 08:49:22 UTC (rev 196548)
@@ -52,6 +52,8 @@
 
 void PluginProcessProxy::platformGetLaunchOptions(ProcessLauncher::LaunchOptions& launchOptions, const PluginProcessAttributes& pluginProcessAttributes)
 {
+    launchOptions.processType = ProcessLauncher::ProcessType::Plugin64;
+
 #if PLATFORM(EFL) && !defined(NDEBUG)
     const char* commandPrefix = getenv("PLUGIN_PROCESS_COMMAND_PREFIX");
     if (commandPrefix && *commandPrefix)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to