diff options
-rw-r--r-- | chrome/app/breakpad_linux.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc index dbc80ad..8f331d7 100644 --- a/chrome/app/breakpad_linux.cc +++ b/chrome/app/breakpad_linux.cc @@ -634,8 +634,8 @@ void EnableRendererCrashDumping() { void InitCrashReporter() { // Determine the process type and take appropriate action. const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess(); - const std::wstring process_type = - parsed_command_line.GetSwitchValue(switches::kProcessType); + const std::string process_type = + parsed_command_line.GetSwitchValueASCII(switches::kProcessType); const bool unattended = (getenv("CHROME_HEADLESS") != NULL); if (process_type.empty()) { if (!(unattended || GoogleUpdateSettings::GetCollectStatsConsent())) |