diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-13 22:10:30 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-13 22:10:30 +0000 |
commit | 0445eb4ed9f9a9bb86f8c4338f86a84fbce7b7f2 (patch) | |
tree | 63eb34b491bfec6af9a6c04361d21d86c086d7eb /net/tools | |
parent | c2c263cd9f2ac658d6dc35ecbd4551ca0c5cb154 (diff) | |
download | chromium_src-0445eb4ed9f9a9bb86f8c4338f86a84fbce7b7f2.zip chromium_src-0445eb4ed9f9a9bb86f8c4338f86a84fbce7b7f2.tar.gz chromium_src-0445eb4ed9f9a9bb86f8c4338f86a84fbce7b7f2.tar.bz2 |
CommandLine: eliminate wstring-accepting AppendLooseValue
Instead use AppendArg variants which accept a FilePath or an ASCII string.
Review URL: http://codereview.chromium.org/3134008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56100 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools')
-rw-r--r-- | net/tools/crash_cache/crash_cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tools/crash_cache/crash_cache.cc b/net/tools/crash_cache/crash_cache.cc index 561f092..88d7d87 100644 --- a/net/tools/crash_cache/crash_cache.cc +++ b/net/tools/crash_cache/crash_cache.cc @@ -45,7 +45,7 @@ int RunSlave(RankCrashes action) { PathService::Get(base::FILE_EXE, &exe); CommandLine cmdline(exe); - cmdline.AppendLooseValue(UTF8ToWide(base::IntToString(action))); + cmdline.AppendArg(base::IntToString(action)); base::ProcessHandle handle; if (!base::LaunchApp(cmdline, false, false, &handle)) { |