| Index: content/browser/browser_main_loop.cc
|
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
|
| index 86a5d31e2073c47e72ef333a56bdd18084e8d28e..893affd88a082cd9ed0d6a303b23f2b75a79958e 100644
|
| --- a/content/browser/browser_main_loop.cc
|
| +++ b/content/browser/browser_main_loop.cc
|
| @@ -634,11 +634,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_)
|
|
|