Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index a8c78293cd2110b4a61eddd115e4852f196671e0..5f9137edf18a28627785d5bc5a2dcc5a9c2087d0 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -146,7 +146,6 @@ |
#elif defined(OS_MACOSX) |
#include "chrome/browser/chrome_browser_main_mac.h" |
#include "chrome/browser/spellchecker/spellcheck_message_filter_mac.h" |
-#include "components/crash/app/breakpad_mac.h" |
#elif defined(OS_CHROMEOS) |
#include "chrome/browser/chromeos/chrome_browser_main_chromeos.h" |
#include "chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.h" |
@@ -1301,7 +1300,7 @@ bool IsAutoReloadVisibleOnlyEnabled() { |
void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( |
base::CommandLine* command_line, |
int child_process_id) { |
-#if defined(OS_POSIX) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) |
if (breakpad::IsCrashReporterEnabled()) { |
scoped_ptr<metrics::ClientInfo> client_info = |
GoogleUpdateSettings::LoadMetricsClientInfo(); |
@@ -1309,7 +1308,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( |
client_info ? client_info->client_id |
: std::string()); |
} |
-#endif // defined(OS_POSIX) |
+#endif // defined(OS_POSIX) && !defined(OS_MACOSX) |
if (logging::DialogsAreSuppressed()) |
command_line->AppendSwitch(switches::kNoErrorDialogs); |