summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tabs')
-rw-r--r--chrome/browser/tabs/tab_strip.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/tabs/tab_strip.cc b/chrome/browser/tabs/tab_strip.cc
index 2354f5e..f4b1447 100644
--- a/chrome/browser/tabs/tab_strip.cc
+++ b/chrome/browser/tabs/tab_strip.cc
@@ -467,6 +467,9 @@ TabStrip::~TabStrip() {
// TODO(beng): (1031854) Restore this line once XPFrame/VistaFrame are dead.
//model_->RemoveObserver(this);
+ // TODO(beng): remove this if it doesn't work to fix the TabSelectedAt bug.
+ drag_controller_.reset(NULL);
+
// Stop any existing Loading Animation timer.
MessageLoop::current()->timer_manager()->StopTimer(
loading_animation_timer_.get());