| Index: headless/lib/headless_content_main_delegate.cc
|
| diff --git a/headless/lib/headless_content_main_delegate.cc b/headless/lib/headless_content_main_delegate.cc
|
| index 561f14be35cfa75812c88ee6cc6c9c45f652ab62..3cd0cd1e5df81731af68c18943737dd52c69638d 100644
|
| --- a/headless/lib/headless_content_main_delegate.cc
|
| +++ b/headless/lib/headless_content_main_delegate.cc
|
| @@ -2,6 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include <utility>
|
| +
|
| #include "headless/lib/headless_content_main_delegate.h"
|
|
|
| #include "base/base_switches.h"
|
| @@ -156,7 +158,7 @@ void HeadlessContentMainDelegate::InitCrashReporter(
|
| g_headless_crash_client.Pointer()->set_crash_dumps_dir(
|
| browser_->options()->crash_dumps_dir);
|
|
|
| -#if !defined(OS_MACOSX)
|
| +#if defined(OS_LINUX)
|
| if (!browser_->options()->enable_crash_reporter) {
|
| DCHECK(!breakpad::IsCrashReporterEnabled());
|
| return;
|
| @@ -165,7 +167,7 @@ void HeadlessContentMainDelegate::InitCrashReporter(
|
| if (process_type != switches::kZygoteProcess)
|
| breakpad::InitCrashReporter(process_type);
|
| #endif // defined(HEADLESS_USE_BREAKPAD)
|
| -#endif // !defined(OS_MACOSX)
|
| +#endif // defined(OS_LINUX)
|
| }
|
|
|
| void HeadlessContentMainDelegate::PreSandboxStartup() {
|
|
|