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

Unified Diff: chrome/test/ui_test_utils.cc

Issue 3134008: CommandLine: eliminate wstring-accepting AppendLooseValue (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: utf8 Created 10 years, 4 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
Index: chrome/test/ui_test_utils.cc
diff --git a/chrome/test/ui_test_utils.cc b/chrome/test/ui_test_utils.cc
index a6dde7cbb79816b877a15f9b729b87e2b53b248b..cdd60872dc9eed87d52bac03dc8726ff7df99e5e 100644
--- a/chrome/test/ui_test_utils.cc
+++ b/chrome/test/ui_test_utils.cc
@@ -655,7 +655,7 @@ CommandLine* TestWebSocketServer::CreateWebSocketServerCommandLine() {
script_path = script_path.AppendASCII("new-run-webkit-websocketserver");
CommandLine* cmd_line = CreatePythonCommandLine();
- cmd_line->AppendLooseValue(script_path.ToWStringHack());
+ cmd_line->AppendArgPath(script_path);
return cmd_line;
}

Powered by Google App Engine
This is Rietveld 408576698