Changeset 140915 in webkit
- Timestamp:
- Jan 26, 2013 12:15:26 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r140914 r140915 1 2013-01-26 Sam Weinig <sam@webkit.org> 2 3 Hoist command line parsing into ChildProcessMain 4 https://bugs.webkit.org/show_bug.cgi?id=108010 5 6 Reviewed by Dan Bernstein. 7 8 * NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMain.mm: 9 (NetworkProcessMain): 10 * PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm: 11 (PluginProcessMain): 12 * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.h: 13 (WebKit::ChildProcessMain): 14 * SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMain.mm: 15 (SharedWorkerProcessMain): 16 * WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm: 17 (WebContentProcessMain): 18 1 19 2013-01-26 Sam Weinig <sam@webkit.org> 2 20 -
trunk/Source/WebKit2/NetworkProcess/EntryPoint/mac/LegacyProcess/NetworkProcessMain.mm
r140914 r140915 38 38 int NetworkProcessMain(int argc, char** argv) 39 39 { 40 CommandLine commandLine; 41 if (!commandLine.parse(argc, argv)) 42 return EXIT_FAILURE; 43 44 return ChildProcessMain<NetworkProcess, ChildProcessMainDelegate>(commandLine); 40 return ChildProcessMain<NetworkProcess, ChildProcessMainDelegate>(argc, argv); 45 41 } 46 42 -
trunk/Source/WebKit2/PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm
r140914 r140915 104 104 int PluginProcessMain(int argc, char** argv) 105 105 { 106 CommandLine commandLine; 107 if (!commandLine.parse(argc, argv)) 108 return EXIT_FAILURE; 109 110 return ChildProcessMain<PluginProcess, PluginProcessMainDelegate>(commandLine); 106 return ChildProcessMain<PluginProcess, PluginProcessMainDelegate>(argc, argv); 111 107 } 112 108 -
trunk/Source/WebKit2/Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.h
r140914 r140915 59 59 60 60 template<typename ChildProcessType, typename ChildProcessMainDelegateType> 61 int ChildProcessMain( const CommandLine& commandLine)61 int ChildProcessMain(int argc, char** argv) 62 62 { 63 CommandLine commandLine; 64 if (!commandLine.parse(argc, argv)) 65 return EXIT_FAILURE; 66 63 67 ChildProcessMainDelegateType delegate(commandLine); 64 68 -
trunk/Source/WebKit2/SharedWorkerProcess/EntryPoint/mac/LegacyProcess/SharedWorkerProcessMain.mm
r140914 r140915 38 38 int SharedWorkerProcessMain(int argc, char** argv) 39 39 { 40 CommandLine commandLine; 41 if (!commandLine.parse(argc, argv)) 42 return EXIT_FAILURE; 43 44 return ChildProcessMain<SharedWorkerProcess, ChildProcessMainDelegate>(commandLine); 40 return ChildProcessMain<SharedWorkerProcess, ChildProcessMainDelegate>(argc, argv); 45 41 } 46 42 -
trunk/Source/WebKit2/WebProcess/EntryPoint/mac/LegacyProcess/WebContentProcessMain.mm
r140914 r140915 177 177 int WebContentProcessMain(int argc, char** argv) 178 178 { 179 CommandLine commandLine; 180 if (!commandLine.parse(argc, argv)) 181 return EXIT_FAILURE; 182 183 return ChildProcessMain<WebProcess, WebContentProcessMainDelegate>(commandLine); 179 return ChildProcessMain<WebProcess, WebContentProcessMainDelegate>(argc, argv); 184 180 }
Note: See TracChangeset
for help on using the changeset viewer.