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

Unified Diff: chrome/test/automation/automation_proxy_uitest.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/installer/util/shell_util.cc ('k') | chrome/test/reliability/page_load_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/automation_proxy_uitest.cc
diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc
index a8d29b0fd64dc4493081124640eea12f683e7880..6187dfb869c0311eec2d86731c4de726cbfc4c0b 100644
--- a/chrome/test/automation/automation_proxy_uitest.cc
+++ b/chrome/test/automation/automation_proxy_uitest.cc
@@ -389,7 +389,7 @@ class AutomationProxyTest2 : public AutomationProxyVisibleTest {
document1_= test_data_directory_.AppendASCII("title1.html");
document2_ = test_data_directory_.AppendASCII("title2.html");
- launch_arguments_ = CommandLine(L"");
+ launch_arguments_ = CommandLine(CommandLine::ARGUMENTS_ONLY);
launch_arguments_.AppendLooseValue(document1_.ToWStringHack());
launch_arguments_.AppendLooseValue(document2_.ToWStringHack());
}
@@ -570,7 +570,7 @@ class AutomationProxyTest3 : public UITest {
document1_ = document1_.AppendASCII("frame_dom_access.html");
dom_automation_enabled_ = true;
- launch_arguments_ = CommandLine(L"");
+ launch_arguments_ = CommandLine(CommandLine::ARGUMENTS_ONLY);
launch_arguments_.AppendLooseValue(document1_.ToWStringHack());
}
« no previous file with comments | « chrome/installer/util/shell_util.cc ('k') | chrome/test/reliability/page_load_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698