diff options
Diffstat (limited to 'chrome/views/hwnd_view_container.cc')
-rw-r--r-- | chrome/views/hwnd_view_container.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/views/hwnd_view_container.cc b/chrome/views/hwnd_view_container.cc index 204ba35..9c723d9 100644 --- a/chrome/views/hwnd_view_container.cc +++ b/chrome/views/hwnd_view_container.cc @@ -138,7 +138,7 @@ HWNDViewContainer::HWNDViewContainer() } HWNDViewContainer::~HWNDViewContainer() { - MessageLoop::current()->RemoveObserver(this); + MessageLoopForUI::current()->RemoveObserver(this); } void HWNDViewContainer::Init(HWND parent, @@ -183,7 +183,7 @@ void HWNDViewContainer::Init(HWND parent, // Sets the RootView as a property, so the automation can introspect windows. SetRootViewForHWND(hwnd_, root_view_.get()); - MessageLoop::current()->AddObserver(this); + MessageLoopForUI::current()->AddObserver(this); // Windows special DWM window frame requires a special tooltip manager so // that window controls in Chrome windows don't flicker when you move your |