Title: [274676] trunk/Source/WebKit
Revision
274676
Author
[email protected]
Date
2021-03-18 15:24:49 -0700 (Thu, 18 Mar 2021)

Log Message

[WPE][GTK] Remove plugin process leftover arg from ProcessLauncher
https://bugs.webkit.org/show_bug.cgi?id=223460

Patch by Michael Catanzaro <[email protected]> on 2021-03-18
Reviewed by Adrian Perez de Castro.

Remove extra nullptr arg.

* UIProcess/Launcher/glib/ProcessLauncherGLib.cpp:
(WebKit::ProcessLauncher::launchProcess):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (274675 => 274676)


--- trunk/Source/WebKit/ChangeLog	2021-03-18 22:09:49 UTC (rev 274675)
+++ trunk/Source/WebKit/ChangeLog	2021-03-18 22:24:49 UTC (rev 274676)
@@ -1,3 +1,15 @@
+2021-03-18  Michael Catanzaro  <[email protected]>
+
+        [WPE][GTK] Remove plugin process leftover arg from ProcessLauncher
+        https://bugs.webkit.org/show_bug.cgi?id=223460
+
+        Reviewed by Adrian Perez de Castro.
+
+        Remove extra nullptr arg.
+
+        * UIProcess/Launcher/glib/ProcessLauncherGLib.cpp:
+        (WebKit::ProcessLauncher::launchProcess):
+
 2021-03-18  Wenson Hsieh  <[email protected]>
 
         [iOS] editing/selection/character-granularity-rect.html fails on certain internal configurations after r274610

Modified: trunk/Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp (274675 => 274676)


--- trunk/Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp	2021-03-18 22:09:49 UTC (rev 274675)
+++ trunk/Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp	2021-03-18 22:24:49 UTC (rev 274676)
@@ -125,7 +125,7 @@
     realExecutablePath = FileSystem::fileSystemRepresentation(executablePath);
     GUniquePtr<gchar> processIdentifier(g_strdup_printf("%" PRIu64, m_launchOptions.processIdentifier.toUInt64()));
     GUniquePtr<gchar> webkitSocket(g_strdup_printf("%d", socketPair.client));
-    unsigned nargs = 5; // size of the argv array for g_spawn_async()
+    unsigned nargs = 4; // size of the argv array for g_spawn_async()
 
 #if ENABLE(DEVELOPER_MODE)
     Vector<CString> prefixArgs;
@@ -157,7 +157,6 @@
         argv[i++] = const_cast<char*>("--configure-jsc-for-testing");
 #endif
     argv[i++] = nullptr;
-    argv[i++] = nullptr;
 
     GRefPtr<GSubprocessLauncher> launcher = adoptGRef(g_subprocess_launcher_new(G_SUBPROCESS_FLAGS_INHERIT_FDS));
     g_subprocess_launcher_take_fd(launcher.get(), socketPair.client, socketPair.client);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to