Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: trunk/src/base/message_loop/message_pump_x11.cc

Issue 24114002: Revert 222470 "Use an X event loop in the GPU process on Linux." This is to (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/base/message_loop/message_pump_x11.cc
===================================================================
--- trunk/src/base/message_loop/message_pump_x11.cc (revision 222588)
+++ trunk/src/base/message_loop/message_pump_x11.cc (working copy)
@@ -158,15 +158,9 @@
return InitializeXInput2();
}
-#if defined(TOOLKIT_GTK)
+#if !defined(TOOLKIT_GTK)
// static
MessagePumpX11* MessagePumpX11::Current() {
- MessageLoop* loop = MessageLoop::current();
- return static_cast<MessagePumpX11*>(loop->pump_gpu());
-}
-#else
-// static
-MessagePumpX11* MessagePumpX11::Current() {
MessageLoopForUI* loop = MessageLoopForUI::current();
return static_cast<MessagePumpX11*>(loop->pump_ui());
}

Powered by Google App Engine
This is Rietveld 408576698