summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/browser_main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index f4e139b..a975ef3 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -249,7 +249,8 @@ int BrowserMain(const MainFunctionParams& parameters) {
#if defined(OS_LINUX)
// Needs to be called after we have chrome::DIR_USER_DATA.
- InitCrashReporter();
+ if (!parsed_command_line.HasSwitch(switches::kGoogleInternalCrashReporting))
+ InitCrashReporter();
#endif
// WARNING: If we get a WM_ENDSESSION objects created on the stack here