Commit 12091cc1 authored by mukai@chromium.org's avatar mukai@chromium.org

Ensures NOTIFICATION_APP_TERMINATING at the end of InProcessBrowserTest.

BUG=285402
R=sky@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23684031

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221666 0039d316-1c4b-4281-b951-d872f2087c98
parent fa84704a
......@@ -458,8 +458,10 @@ void InProcessBrowserTest::RunTestOnMainThreadLoop() {
}
void InProcessBrowserTest::QuitBrowsers() {
if (chrome::GetTotalBrowserCount() == 0)
if (chrome::GetTotalBrowserCount() == 0) {
chrome::NotifyAppTerminating();
return;
}
// Invoke AttemptExit on a running message loop.
// AttemptExit exits the message loop after everything has been
......
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