summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/breakpad.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/app/breakpad.cc b/chrome/app/breakpad.cc
index 83653d3..dd0aebf 100644
--- a/chrome/app/breakpad.cc
+++ b/chrome/app/breakpad.cc
@@ -210,8 +210,9 @@ unsigned __stdcall InitCrashReporterThread(void* param) {
// user allows it first.
if (!GoogleUpdateSettings::GetCollectStatsConsent()) {
// The user did not allow Google Update to send crashes, we need to use
- // our default crash handler instead.
- InitDefaultCrashCallback();
+ // our default crash handler instead, but only for the browser process.
+ if (callback)
+ InitDefaultCrashCallback();
return 0;
}