| Index: content/browser/browser_process_sub_thread.cc
|
| diff --git a/content/browser/browser_process_sub_thread.cc b/content/browser/browser_process_sub_thread.cc
|
| index 71f1396dbdef051e5e05126d34f65568bd6d19cf..022b7161bcd3f0c99895ecbf317a3e2d146c7ce8 100644
|
| --- a/content/browser/browser_process_sub_thread.cc
|
| +++ b/content/browser/browser_process_sub_thread.cc
|
| @@ -73,7 +73,10 @@ void BrowserProcessSubThread::IOThreadPreCleanUp() {
|
| // If any child processes are still running, terminate them and
|
| // and delete the BrowserChildProcessHost instances to release whatever
|
| // IO thread only resources they are referencing.
|
| - BrowserChildProcessHostImpl::TerminateAll();
|
| + {
|
| + base::ThreadRestrictions::ScopedAllowWait allow_wait_to_stop_child_procs;
|
| + BrowserChildProcessHostImpl::TerminateAll();
|
| + }
|
|
|
| // Unregister GpuMemoryBuffer dump provider before IO thread is shut down.
|
| base::trace_event::MemoryDumpManager::GetInstance()->UnregisterDumpProvider(
|
|
|