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

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

Issue 205963005: Delete "shutdown without closing browsers" path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gtk build fix Created 6 years, 9 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/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index de100f8c4cd97fd8dc3047175ad86417eb0d65fd..1051ab1bbd1a3a298bc2c74c7a7601d8f53e3337 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -447,9 +447,7 @@ Browser::Browser(const CreateParams& params)
Browser::~Browser() {
// The tab strip should not have any tabs at this point.
- if (!browser_shutdown::ShuttingDownWithoutClosingBrowsers())
- DCHECK(tab_strip_model_->empty());
-
+ DCHECK(tab_strip_model_->empty());
tab_strip_model_->RemoveObserver(this);
// Destroy the BrowserCommandController before removing the browser, so that
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate_views.cc ('k') | chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698