Index: ui/base/win/singleton_hwnd.cc |
diff --git a/ui/base/win/singleton_hwnd.cc b/ui/base/win/singleton_hwnd.cc |
index a4af8abb468bee6a3134877b9803b7fa8261d20d..aad849e20a4ed9333a3b71a27ef346c847273db6 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!"; |