Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index 03ff32e60da870bbab44e9b91ffa097d0aa3797c..08735fc9f5b7e9ae97e96abe752642905a14b556 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -645,16 +645,7 @@ void ChromeMainDelegate::PreSandboxStartup() { |
// need to call InitCrashReporter() in RunZygote(). |
if (!process_type.empty() && process_type != switches::kZygoteProcess) { |
#if defined(OS_ANDROID) |
- // On Android we need to provide a FD to the file where the minidump is |
- // generated as the renderer and browser run with different UIDs |
- // (preventing the browser from inspecting the renderer process). |
- int minidump_fd = base::GlobalDescriptors::GetInstance()-> |
- MaybeGet(kAndroidMinidumpDescriptor); |
- if (minidump_fd == base::kInvalidPlatformFileValue) { |
- NOTREACHED() << "Could not find minidump FD, crash reporting disabled."; |
- } else { |
- InitNonBrowserCrashReporterForAndroid(minidump_fd); |
- } |
+ InitNonBrowserCrashReporterForAndroid(); |
#else |
InitCrashReporter(); |
#endif |