| 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 edadc181b79f064b4e61b5ddca3e0c6a640b945a..a082aa7a789b12ac02a8b5f1caae7781997c0ec3 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -2781,18 +2781,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);
|
|
|