diff options
author | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-30 23:11:04 +0000 |
---|---|---|
committer | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-30 23:11:04 +0000 |
commit | 9e7154126cd2e6dc9f7935758d17aea9b8df0dc3 (patch) | |
tree | 2b50814c21f5073b41f36661901b48d73e409be2 /ui/base/win/singleton_hwnd.cc | |
parent | e1bcc0207442374ab4d539e6a5623fe4cf1fe8cb (diff) | |
download | chromium_src-9e7154126cd2e6dc9f7935758d17aea9b8df0dc3.zip chromium_src-9e7154126cd2e6dc9f7935758d17aea9b8df0dc3.tar.gz chromium_src-9e7154126cd2e6dc9f7935758d17aea9b8df0dc3.tar.bz2 |
Use base::MessageLoop in more files.
These are either missed in the first pass, or added after the first pass.
TBR=thestig@chromium.org
BUG=236029
Review URL: https://codereview.chromium.org/16092013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203259 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/win/singleton_hwnd.cc')
-rw-r--r-- | ui/base/win/singleton_hwnd.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/base/win/singleton_hwnd.cc b/ui/base/win/singleton_hwnd.cc index a4af8ab..aad849e 100644 --- a/ui/base/win/singleton_hwnd.cc +++ b/ui/base/win/singleton_hwnd.cc @@ -17,8 +17,8 @@ SingletonHwnd* SingletonHwnd::GetInstance() { void SingletonHwnd::AddObserver(Observer* observer) { if (!hwnd()) { - if (!MessageLoop::current() || - MessageLoop::current()->type() != MessageLoop::TYPE_UI) { + if (!base::MessageLoop::current() || + base::MessageLoop::current()->type() != base::MessageLoop::TYPE_UI) { // Creating this window in (e.g.) a renderer inhibits shutdown on // Windows. See http://crbug.com/230122 and http://crbug.com/236039. DLOG(ERROR) << "Cannot create windows on non-UI thread!"; |