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

Unified Diff: net/disk_cache/stress_cache.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: net/disk_cache/stress_cache.cc
diff --git a/net/disk_cache/stress_cache.cc b/net/disk_cache/stress_cache.cc
index c7f469c24612f44085376695c5e82147430f4ff1..ade7427c35f2ee72c38afb9dc8b11b89655d73df 100644
--- a/net/disk_cache/stress_cache.cc
+++ b/net/disk_cache/stress_cache.cc
@@ -44,7 +44,7 @@ int RunSlave(int iteration) {
PathService::Get(base::FILE_EXE, &exe);
CommandLine cmdline(exe);
- cmdline.AppendLooseValue(UTF8ToWide(base::IntToString(iteration)));
+ cmdline.AppendArg(base::IntToString(iteration));
base::ProcessHandle handle;
if (!base::LaunchApp(cmdline, false, false, &handle)) {

Powered by Google App Engine
This is Rietveld 408576698