summaryrefslogtreecommitdiffstats
path: root/base/message_loop.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/message_loop.h')
-rw-r--r--base/message_loop.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/base/message_loop.h b/base/message_loop.h
index a64196ce..c747947 100644
--- a/base/message_loop.h
+++ b/base/message_loop.h
@@ -80,12 +80,11 @@ class BASE_API MessageLoop : public base::MessagePump::Delegate {
#if defined(OS_WIN)
typedef base::MessagePumpWin::Dispatcher Dispatcher;
typedef base::MessagePumpForUI::Observer Observer;
-#elif !defined(OS_MACOSX)
-#if defined(TOUCH_UI)
+#elif defined(TOUCH_UI)
typedef base::MessagePumpGlibXDispatcher Dispatcher;
-#else
+ typedef base::MessagePumpXObserver Observer;
+#elif !defined(OS_MACOSX)
typedef base::MessagePumpForUI::Dispatcher Dispatcher;
-#endif
typedef base::MessagePumpForUI::Observer Observer;
#endif