Index: chrome/browser/utility_process_host.cc |
diff --git a/chrome/browser/utility_process_host.cc b/chrome/browser/utility_process_host.cc |
index dbcf94b7112f9a5544381e96adaf575ec4ef3343..4e3852f71a2638860bd2155600cfd73acac737cb 100644 |
--- a/chrome/browser/utility_process_host.cc |
+++ b/chrome/browser/utility_process_host.cc |
@@ -78,11 +78,11 @@ bool UtilityProcessHost::StartProcess(const FilePath& exposed_dir) { |
} |
CommandLine* cmd_line = new CommandLine(exe_path); |
- cmd_line->AppendSwitchWithValue(switches::kProcessType, |
- switches::kUtilityProcess); |
- cmd_line->AppendSwitchWithValue(switches::kProcessChannelID, channel_id()); |
+ cmd_line->AppendSwitchASCII(switches::kProcessType, |
+ switches::kUtilityProcess); |
+ cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id()); |
std::string locale = g_browser_process->GetApplicationLocale(); |
- cmd_line->AppendSwitchWithValue(switches::kLang, locale); |
+ cmd_line->AppendSwitchASCII(switches::kLang, locale); |
SetCrashReporterCommandLine(cmd_line); |