Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index c00b48914a3ccf4fe64d34460caac1e3c434b4a2..3b35d0357a918ba211cfd533ad10ad8881d78159 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -2619,18 +2619,8 @@ void ChromeContentBrowserClient::GetAdditionalMappedFilesForChildProcess( |
fd = ui::GetLocalePackFd(&(*regions)[kAndroidLocalePakDescriptor]); |
mappings->Share(kAndroidLocalePakDescriptor, fd); |
- if (breakpad::IsCrashReporterEnabled()) { |
- base::File file = |
- breakpad::CrashDumpManager::GetInstance()->CreateMinidumpFile( |
- child_process_id); |
- if (file.IsValid()) { |
- mappings->Transfer(kAndroidMinidumpDescriptor, |
- base::ScopedFD(file.TakePlatformFile())); |
- } else { |
- LOG(ERROR) << "Failed to create file for minidump, crash reporting will " |
- "be disabled for this process."; |
- } |
- } |
+ breakpad::CrashDumpObserver::GetInstance()->BrowserChildProcessStarted( |
+ child_process_id, mappings); |
base::FilePath app_data_path; |
PathService::Get(base::DIR_ANDROID_APP_DATA, &app_data_path); |