summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/views/tabs/tab_strip.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/tabs/tab_strip.cc b/chrome/browser/views/tabs/tab_strip.cc
index 47329c5..0f7a743 100644
--- a/chrome/browser/views/tabs/tab_strip.cc
+++ b/chrome/browser/views/tabs/tab_strip.cc
@@ -570,7 +570,8 @@ void TabStrip::DestroyDraggedSourceTab(Tab* tab) {
std::vector<TabData>::iterator it = tab_data_.begin();
for (; it != tab_data_.end(); ++it) {
if (it->tab == tab) {
- NOTREACHED() << "Leaving in an inconsistent state!";
+ if (!model_->closing_all())
+ NOTREACHED() << "Leaving in an inconsistent state!";
tab_data_.erase(it);
break;
}