Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index 8b6933ab3d9d76b2307842bd73df11b185babd8d..4dcb123a8d0963d0475cf95676d40a0ccad4d774 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -888,12 +888,11 @@ void ChromeMainDelegate::PreSandboxStartup() { |
// 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); |
- base::android::InitJavaExceptionReporter(); |
- } else { |
+ else |
breakpad::InitNonBrowserCrashReporterForAndroid(process_type); |
- } |
+ base::android::InitJavaExceptionReporter(); |
#else // !defined(OS_ANDROID) |
breakpad::InitCrashReporter(process_type); |
#endif // defined(OS_ANDROID) |