Index: content/shell/browser/shell_content_browser_client.cc |
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc |
index 323544ffdb2a3a9f9468ce6e7552da703e0ab51d..27f3b297b0d41406fe0446b0de473ec28dba852f 100644 |
--- a/content/shell/browser/shell_content_browser_client.cc |
+++ b/content/shell/browser/shell_content_browser_client.cc |
@@ -341,18 +341,8 @@ void ShellContentBrowserClient::GetAdditionalMappedFilesForChildProcess( |
base::GlobalDescriptors::GetInstance()->Get(kShellPakDescriptor), |
base::GlobalDescriptors::GetInstance()->GetRegion(kShellPakDescriptor)); |
- if (breakpad::IsCrashReporterEnabled()) { |
- base::File f(breakpad::CrashDumpManager::GetInstance()->CreateMinidumpFile( |
- child_process_id)); |
- if (!f.IsValid()) { |
- LOG(ERROR) << "Failed to create file for minidump, crash reporting will " |
- << "be disabled for this process."; |
- } else { |
- mappings->Transfer(kAndroidMinidumpDescriptor, |
- base::ScopedFD(f.TakePlatformFile())); |
- } |
- } |
- |
+ breakpad::CrashDumpObserver::GetInstance()->BrowserChildProcessStarted( |
+ child_process_id, mappings); |
#else |
int crash_signal_fd = GetCrashSignalFD(command_line); |
if (crash_signal_fd >= 0) { |