diff options
Diffstat (limited to 'chrome/browser/tabs/tab_strip.cc')
-rw-r--r-- | chrome/browser/tabs/tab_strip.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tabs/tab_strip.cc b/chrome/browser/tabs/tab_strip.cc index aed87a1..b012443 100644 --- a/chrome/browser/tabs/tab_strip.cc +++ b/chrome/browser/tabs/tab_strip.cc @@ -1195,14 +1195,14 @@ bool TabStrip::IsCursorInTabStripZone() { void TabStrip::AddMessageLoopObserver() { if (!added_as_message_loop_observer_) { - MessageLoop::current()->AddObserver(this); + MessageLoopForUI::current()->AddObserver(this); added_as_message_loop_observer_ = true; } } void TabStrip::RemoveMessageLoopObserver() { if (added_as_message_loop_observer_) { - MessageLoop::current()->RemoveObserver(this); + MessageLoopForUI::current()->RemoveObserver(this); added_as_message_loop_observer_ = false; } } |