Index: ui/base/x/x11_util.cc |
diff --git a/ui/base/x/x11_util.cc b/ui/base/x/x11_util.cc |
index 14522b500c43932e24e996b897e1dc12f99dc645..a4d9caa0f1623cb9c848c8d2db54f0d5550e19f5 100644 |
--- a/ui/base/x/x11_util.cc |
+++ b/ui/base/x/x11_util.cc |
@@ -98,10 +98,9 @@ CachedPictFormats* get_cached_pict_formats() { |
const size_t kMaxCacheSize = 5; |
int DefaultX11ErrorHandler(Display* d, XErrorEvent* e) { |
- if (MessageLoop::current()) { |
- MessageLoop::current()->PostTask( |
- FROM_HERE, |
- base::Bind(&LogErrorEventDescription, d, *e)); |
+ if (base::MessageLoop::current()) { |
+ base::MessageLoop::current()->PostTask( |
+ FROM_HERE, base::Bind(&LogErrorEventDescription, d, *e)); |
} else { |
LOG(ERROR) |
<< "X error received: " |