Commit 79c26620 authored by jam@chromium.org's avatar jam@chromium.org

Add the RenderProcessHost::FastShutdownIfPossible calls to ContentBrowserTest...

Add the RenderProcessHost::FastShutdownIfPossible calls to ContentBrowserTest that I removed in r148507. It looks like this may be preventing the browser from shutting down child processes.
Review URL: https://chromiumcodereview.appspot.com/10833043

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148686 0039d316-1c4b-4281-b951-d872f2087c98
parent bc78d796
...@@ -120,6 +120,11 @@ void ContentBrowserTest::RunTestOnMainThreadLoop() { ...@@ -120,6 +120,11 @@ void ContentBrowserTest::RunTestOnMainThreadLoop() {
pool.Recycle(); pool.Recycle();
#endif #endif
for (RenderProcessHost::iterator i(RenderProcessHost::AllHostsIterator());
!i.IsAtEnd(); i.Advance()) {
i.GetCurrentValue()->FastShutdownIfPossible();
}
Shell::CloseAllWindows(); Shell::CloseAllWindows();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment