summaryrefslogtreecommitdiffstats
path: root/chrome/browser/child_process_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/child_process_host.cc')
-rw-r--r--chrome/browser/child_process_host.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/child_process_host.cc b/chrome/browser/child_process_host.cc
index a9dcbd7..727d57c 100644
--- a/chrome/browser/child_process_host.cc
+++ b/chrome/browser/child_process_host.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -116,8 +116,7 @@ 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).c_str()) != NULL);
+ const bool unattended = (getenv(env_vars::kHeadless) != NULL);
if (unattended || GoogleUpdateSettings::GetCollectStatsConsent()) {
command_line->AppendSwitchWithValue(switches::kEnableCrashReporter,
ASCIIToWide(google_update::posix_guid +