summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_child_process_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_child_process_host.cc')
-rw-r--r--chrome/browser/browser_child_process_host.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/browser_child_process_host.cc b/chrome/browser/browser_child_process_host.cc
index d700475..8dbf668 100644
--- a/chrome/browser/browser_child_process_host.cc
+++ b/chrome/browser/browser_child_process_host.cc
@@ -88,15 +88,15 @@ void BrowserChildProcessHost::SetCrashReporterCommandLine(
#if defined(USE_LINUX_BREAKPAD)
const bool unattended = (getenv(env_vars::kHeadless) != NULL);
if (unattended || GoogleUpdateSettings::GetCollectStatsConsent()) {
- command_line->AppendSwitchWithValue(switches::kEnableCrashReporter,
- ASCIIToWide(google_update::posix_guid +
- "," +
- base::GetLinuxDistro()));
+ command_line->AppendSwitchASCII(switches::kEnableCrashReporter,
+ google_update::posix_guid +
+ "," +
+ base::GetLinuxDistro());
}
#elif defined(OS_MACOSX)
if (GoogleUpdateSettings::GetCollectStatsConsent())
- command_line->AppendSwitchWithValue(switches::kEnableCrashReporter,
- ASCIIToWide(google_update::posix_guid));
+ command_line->AppendSwitchASCII(switches::kEnableCrashReporter,
+ google_update::posix_guid);
#endif // OS_MACOSX
}