diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-12 22:36:28 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-12 22:36:28 +0000 |
commit | c1652ac6c0c9f893368620e4e89ff956693c784a (patch) | |
tree | 46978b39bebd83f4fc0a7a12d6ce387b72110027 /chrome/browser/child_process_host.cc | |
parent | 0aea9eaaaaa4ca9aba56f8e78731ffdd77524ae2 (diff) | |
download | chromium_src-c1652ac6c0c9f893368620e4e89ff956693c784a.zip chromium_src-c1652ac6c0c9f893368620e4e89ff956693c784a.tar.gz chromium_src-c1652ac6c0c9f893368620e4e89ff956693c784a.tar.bz2 |
Linux: Fix official build breakage from r41451.
BUG=none
TEST=Linux official builds succeed.
Review URL: http://codereview.chromium.org/842008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/child_process_host.cc')
-rw-r--r-- | chrome/browser/child_process_host.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/child_process_host.cc b/chrome/browser/child_process_host.cc index d27ebeb..d9f5218 100644 --- a/chrome/browser/child_process_host.cc +++ b/chrome/browser/child_process_host.cc @@ -115,7 +115,8 @@ FilePath ChildProcessHost::GetChildPath(bool allow_self) { // static void ChildProcessHost::SetCrashReporterCommandLine(CommandLine* command_line) { #if defined(USE_LINUX_BREAKPAD) - const bool unattended = (getenv(WideToASCII(env_vars::kHeadless)) != NULL); + const bool unattended = + (getenv(WideToASCII(env_vars::kHeadless).c_str()) != NULL); if (unattended || GoogleUpdateSettings::GetCollectStatsConsent()) { command_line->AppendSwitchWithValue(switches::kEnableCrashReporter, ASCIIToWide(google_update::posix_guid + |