Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: chrome/test/render_view_test.cc

Issue 329017: Remove deprecated CommandLine(std::wstring) ctor. (Closed)
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/reliability/page_load_test.cc ('k') | chrome/test/ui/ui_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_));
« no previous file with comments | « chrome/test/reliability/page_load_test.cc ('k') | chrome/test/ui/ui_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698