Index: chrome/browser/views/frame/browser_view.cc |
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc |
index b6d5c946e92605750192acaf205afb3dc06f62d1..f3ee05f545022fe7fff697ad249545ee1dd4b107 100644 |
--- a/chrome/browser/views/frame/browser_view.cc |
+++ b/chrome/browser/views/frame/browser_view.cc |
@@ -1554,7 +1554,7 @@ bool BrowserView::CanClose() const { |
if (!browser_->ShouldCloseWindow()) |
return false; |
- if (browser_->tabstrip_model()->HasNonPhantomTabs()) { |
+ if (!browser_->tabstrip_model()->empty()) { |
// Tab strip isn't empty. Hide the frame (so it appears to have closed |
// immediately) and close all the tabs, allowing the renderers to shut |
// down. When the tab strip is empty we'll be called back again. |