Index: chrome/browser/views/tabs/tab_strip.cc |
=================================================================== |
--- chrome/browser/views/tabs/tab_strip.cc (revision 14831) |
+++ chrome/browser/views/tabs/tab_strip.cc (working copy) |
@@ -904,6 +904,8 @@ |
available_width_for_tabs_ = GetAvailableWidthForTabs(last_tab); |
resize_layout_scheduled_ = true; |
AddMessageLoopObserver(); |
+ // Note that the next call might not close the tab (because of unload |
+ // hanlders or if the delegate veto the close). |
model_->CloseTabContentsAt(tab_index); |
} |
} |