Index: webkit/tools/test_shell/run_all_tests.cc |
diff --git a/webkit/tools/test_shell/run_all_tests.cc b/webkit/tools/test_shell/run_all_tests.cc |
index d7ff3d055e6263495340b13056bc2393a33b9e7f..9d5cfb7eeb66f24225359cef009d528d3216f7af 100644 |
--- a/webkit/tools/test_shell/run_all_tests.cc |
+++ b/webkit/tools/test_shell/run_all_tests.cc |
@@ -48,15 +48,13 @@ int main(int argc, char* argv[]) { |
base::EnableTerminationOnHeapCorruption(); |
// Some unittests may use base::Singleton<>, thus we need to instanciate |
// the AtExitManager or else we will leak objects. |
- base::AtExitManager at_exit_manager; |
+ base::AtExitManager at_exit_manager; |
#if defined(OS_LINUX) |
gtk_init(&argc, &argv); |
#endif |
-#if defined(OS_POSIX) |
- CommandLine::SetArgcArgv(argc, argv); |
-#endif |
+ CommandLine::Init(argc, argv); |
// Suppress error dialogs and do not show GP fault error box on Windows. |
TestShell::InitLogging(true, false, false); |