| Index: android_webview/browser/aw_browser_main_parts.cc
|
| diff --git a/android_webview/browser/aw_browser_main_parts.cc b/android_webview/browser/aw_browser_main_parts.cc
|
| index 04d9c68f2f0a5f7c9a40842cdc8a497c0eca0bd8..ff720616e9e6cd3709b151ce3b506a91181fdac0 100644
|
| --- a/android_webview/browser/aw_browser_main_parts.cc
|
| +++ b/android_webview/browser/aw_browser_main_parts.cc
|
| @@ -18,6 +18,7 @@
|
| #include "base/command_line.h"
|
| #include "base/files/file_path.h"
|
| #include "base/path_service.h"
|
| +#include "components/crash/content/browser/crash_micro_dump_manager_android.h"
|
| #include "content/public/browser/android/synchronous_compositor.h"
|
| #include "content/public/browser/render_frame_host.h"
|
| #include "content/public/browser/render_process_host.h"
|
| @@ -75,6 +76,11 @@ int AwBrowserMainParts::PreCreateThreads() {
|
| base::android::MemoryPressureListenerAndroid::RegisterSystemCallback(
|
| base::android::AttachCurrentThread());
|
| DeferredGpuCommandService::SetInstance();
|
| + if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kSingleProcess)) {
|
| + // Create the renderers crash manager on the UI thread.
|
| + breakpad::CrashMicroDumpManager::GetInstance();
|
| + }
|
|
|
| return content::RESULT_CODE_NORMAL_EXIT;
|
| }
|
|
|