From ab820df141e6ab45fd8a095d2f57f91df44e6c9c Mon Sep 17 00:00:00 2001 From: "darin@google.com" Date: Tue, 26 Aug 2008 05:55:10 +0000 Subject: Chrome changes corresponding to my message_loop_type CL. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1363 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/views/hwnd_view_container.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/views/hwnd_view_container.cc') 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 -- cgit v1.1