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); |