| 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..da48741e238cf74c54675da0cdc17c5c7332e1ae 100644
|
| --- a/headless/lib/headless_content_main_delegate.cc
|
| +++ b/headless/lib/headless_content_main_delegate.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "headless/lib/headless_content_main_delegate.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/base_switches.h"
|
| #include "base/command_line.h"
|
| #include "base/environment.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() {
|
|
|