diff options
Diffstat (limited to 'chrome/browser/tabs/dragged_tab_controller.cc')
| -rw-r--r-- | chrome/browser/tabs/dragged_tab_controller.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tabs/dragged_tab_controller.cc b/chrome/browser/tabs/dragged_tab_controller.cc index eff01a4..80cbe65 100644 --- a/chrome/browser/tabs/dragged_tab_controller.cc +++ b/chrome/browser/tabs/dragged_tab_controller.cc @@ -96,13 +96,13 @@ DraggedTabController::DraggedTabController(Tab* source_tab, ChangeDraggedContents( source_tabstrip_->model()->GetTabContentsAt(source_model_index_)); // Listen for Esc key presses. - MessageLoop::current()->AddObserver(this); + MessageLoopForUI::current()->AddObserver(this); } DraggedTabController::~DraggedTabController() { in_destructor_ = true; CleanUpSourceTab(); - MessageLoop::current()->RemoveObserver(this); + MessageLoopForUI::current()->RemoveObserver(this); ChangeDraggedContents(NULL); // This removes our observer. } |
