Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index 4dcb123a8d0963d0475cf95676d40a0ccad4d774..8b6933ab3d9d76b2307842bd73df11b185babd8d 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -888,11 +888,12 @@ |
// Zygote needs to call InitCrashReporter() in RunZygote(). |
if (process_type != switches::kZygoteProcess) { |
#if defined(OS_ANDROID) |
- if (process_type.empty()) |
+ if (process_type.empty()) { |
breakpad::InitCrashReporter(process_type); |
- else |
+ base::android::InitJavaExceptionReporter(); |
+ } else { |
breakpad::InitNonBrowserCrashReporterForAndroid(process_type); |
- base::android::InitJavaExceptionReporter(); |
+ } |
#else // !defined(OS_ANDROID) |
breakpad::InitCrashReporter(process_type); |
#endif // defined(OS_ANDROID) |