Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1549)

Unified Diff: chrome/browser/lifetime/application_lifetime.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/lifetime/application_lifetime.cc
diff --git a/chrome/browser/lifetime/application_lifetime.cc b/chrome/browser/lifetime/application_lifetime.cc
index 605e548001aa18ca115c08c3505fb35604e741b8..0295cee588f2352988d77f997e8ec0272659bed5 100644
--- a/chrome/browser/lifetime/application_lifetime.cc
+++ b/chrome/browser/lifetime/application_lifetime.cc
@@ -318,8 +318,7 @@ void EndKeepAlive() {
// initiate a shutdown. Also skips shutdown if this is a unit test
// (MessageLoop::current() == null).
if (chrome::GetTotalBrowserCount() == 0 &&
- !browser_shutdown::IsTryingToQuit() &&
- MessageLoop::current()) {
+ !browser_shutdown::IsTryingToQuit() && base::MessageLoop::current()) {
CloseAllBrowsers();
}
}

Powered by Google App Engine
This is Rietveld 408576698