Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index 1051ab1bbd1a3a298bc2c74c7a7601d8f53e3337..de100f8c4cd97fd8dc3047175ad86417eb0d65fd 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -447,7 +447,9 @@ |
Browser::~Browser() { |
// The tab strip should not have any tabs at this point. |
- DCHECK(tab_strip_model_->empty()); |
+ if (!browser_shutdown::ShuttingDownWithoutClosingBrowsers()) |
+ DCHECK(tab_strip_model_->empty()); |
+ |
tab_strip_model_->RemoveObserver(this); |
// Destroy the BrowserCommandController before removing the browser, so that |