summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/tabs
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-30 16:42:05 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-30 16:42:05 +0000
commit06f666707b420f11a454929e4de0fbb843d71d55 (patch)
treeb0e242e2edda142f36619046ce4936b19dd4b137 /chrome/browser/views/tabs
parent1cfe52b37f422bc5305e3f0a9c0172990312549e (diff)
downloadchromium_src-06f666707b420f11a454929e4de0fbb843d71d55.zip
chromium_src-06f666707b420f11a454929e4de0fbb843d71d55.tar.gz
chromium_src-06f666707b420f11a454929e4de0fbb843d71d55.tar.bz2
Reverting 14948.
Broke the Mac build. TBR=ben Review URL: http://codereview.chromium.org/99224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14949 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/tabs')
-rw-r--r--chrome/browser/views/tabs/tab_strip.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/views/tabs/tab_strip.cc b/chrome/browser/views/tabs/tab_strip.cc
index 1b1acac..51ff414 100644
--- a/chrome/browser/views/tabs/tab_strip.cc
+++ b/chrome/browser/views/tabs/tab_strip.cc
@@ -904,8 +904,6 @@ void TabStrip::CloseTab(Tab* tab) {
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);
}
}