Index: chrome/test/render_view_test.cc |
diff --git a/chrome/test/render_view_test.cc b/chrome/test/render_view_test.cc |
index f80c8453fdc6bf49313c8f77b4fa1397b715f9a6..ccd7da59e9c37da062f069f0ce899e975bfb2d60 100644 |
--- a/chrome/test/render_view_test.cc |
+++ b/chrome/test/render_view_test.cc |
@@ -61,11 +61,7 @@ void RenderViewTest::LoadHTML(const char* html) { |
void RenderViewTest::SetUp() { |
sandbox_init_wrapper_.reset(new SandboxInitWrapper()); |
-#if defined(OS_WIN) |
- command_line_.reset(new CommandLine(std::wstring())); |
-#elif defined(OS_POSIX) |
- command_line_.reset(new CommandLine(std::vector<std::string>())); |
-#endif |
+ command_line_.reset(new CommandLine(CommandLine::ARGUMENTS_ONLY)); |
params_.reset(new MainFunctionParams(*command_line_, *sandbox_init_wrapper_, |
NULL)); |
platform_.reset(new RendererMainPlatformDelegate(*params_)); |