Changeset 160373 in webkit
- Timestamp:
- Dec 10, 2013 10:49:42 AM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r160371 r160373 1 2013-12-10 Alberto Garcia <berto@igalia.com> 2 3 [WK2] [SOUP] Allow running the network process with an arbitrary prefix command 4 https://bugs.webkit.org/show_bug.cgi?id=125520 5 6 Reviewed by Carlos Garcia Campos. 7 8 Launch the network process using NETWORK_PROCESS_CMD_PREFIX as a 9 prefix. Useful for debugging the web process with gdb, valgrind, 10 etc. 11 12 * UIProcess/Network/soup/NetworkProcessProxySoup.cpp: 13 (WebKit::NetworkProcessProxy::platformGetLaunchOptions): 14 1 15 2013-12-10 Kwang Yul Seo <skyul@company100.net> 2 16 -
trunk/Source/WebKit2/UIProcess/Network/soup/NetworkProcessProxySoup.cpp
r157254 r160373 28 28 29 29 #include "NetworkProcessProxy.h" 30 #include <glib.h> 30 31 31 32 namespace WebKit { … … 33 34 void NetworkProcessProxy::platformGetLaunchOptions(ProcessLauncher::LaunchOptions& launchOptions) 34 35 { 36 #ifndef NDEBUG 37 const char* networkProcessCmdPrefix = g_getenv("NETWORK_PROCESS_CMD_PREFIX"); 38 if (networkProcessCmdPrefix && *networkProcessCmdPrefix) 39 launchOptions.processCmdPrefix = String::fromUTF8(networkProcessCmdPrefix); 40 #else 41 UNUSED_PARAM(launchOptions); 42 #endif 35 43 } 36 44
Note: See TracChangeset
for help on using the changeset viewer.