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

Unified Diff: chrome/browser/ui/browser_list_impl.cc

Issue 10826044: Remove call to IsTryingToQuit from BrowserListImpl::SetLastActive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added comment Created 8 years, 5 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
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_list_impl.cc
diff --git a/chrome/browser/ui/browser_list_impl.cc b/chrome/browser/ui/browser_list_impl.cc
index 557064f00c0b52acd8344a60290595941254dce2..ed2bc2bb66da70a96dbaa4585287c70af44abedf 100644
--- a/chrome/browser/ui/browser_list_impl.cc
+++ b/chrome/browser/ui/browser_list_impl.cc
@@ -123,11 +123,6 @@ void BrowserListImpl::RemoveObserver(BrowserListObserver* observer) {
}
void BrowserListImpl::SetLastActive(Browser* browser) {
- // If the browser is currently trying to quit, we don't want to set the last
- // active browser because that can alter the last active browser that the user
- // intended depending on the order in which the windows close.
- if (browser_shutdown::IsTryingToQuit())
- return;
RemoveBrowserFrom(browser, &last_active_browsers_);
last_active_browsers_.push_back(browser);
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698