| Index: content/browser/browser_main_loop.cc
|
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
|
| index 5d2ae3e294cc90e8912dad650d6c5f0f3e38c474..b87b7203b1aa63932011bd497de25da993fdd656 100644
|
| --- a/content/browser/browser_main_loop.cc
|
| +++ b/content/browser/browser_main_loop.cc
|
| @@ -631,11 +631,14 @@ void BrowserMainLoop::PostMainMessageLoopStart() {
|
| screen_orientation_delegate_.reset(new ScreenOrientationDelegateWin());
|
| #endif
|
|
|
| + auto* discardable_shared_memory_manager =
|
| + discardable_memory::DiscardableSharedMemoryManager::CreateInstance();
|
| +
|
| // TODO(boliu): kSingleProcess check is a temporary workaround for
|
| // in-process Android WebView. crbug.com/503724 tracks proper fix.
|
| if (!parsed_command_line_.HasSwitch(switches::kSingleProcess)) {
|
| base::DiscardableMemoryAllocator::SetInstance(
|
| - discardable_memory::DiscardableSharedMemoryManager::current());
|
| + discardable_shared_memory_manager);
|
| }
|
|
|
| if (parts_)
|
|
|