summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad_linux.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 02:30:50 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 02:30:50 +0000
commite654c2be656107f5d06a2583eb3f5fbf1cb85a58 (patch)
treec1d5a55bba13d72987de200f0e8d5b39378b94de /chrome/app/breakpad_linux.cc
parentfdcb76e17db58f3dae2d5bdf7468e4ba243cb3e4 (diff)
downloadchromium_src-e654c2be656107f5d06a2583eb3f5fbf1cb85a58.zip
chromium_src-e654c2be656107f5d06a2583eb3f5fbf1cb85a58.tar.gz
chromium_src-e654c2be656107f5d06a2583eb3f5fbf1cb85a58.tar.bz2
Fix ChromeOS build.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28781 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_linux.cc')
-rw-r--r--chrome/app/breakpad_linux.cc4
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()))