| 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 172cee3576e38939c6f97fd587cfcc4f736715bb..c8e4aa014f20454933d8c18f338d55b0c7166d5f 100644
|
| --- a/content/shell/browser/shell_content_browser_client.cc
|
| +++ b/content/shell/browser/shell_content_browser_client.cc
|
| @@ -327,18 +327,8 @@ void ShellContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
|
| regions->insert(std::make_pair(
|
| 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);
|
| }
|
| #elif defined(OS_POSIX) && !defined(OS_MACOSX)
|
| void ShellContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
|
|
|