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

Unified Diff: trunk/src/ui/views/test/ui_controls_factory_desktop_aurax11.cc

Issue 238093002: Revert 263726 "x11: Remove X11 message-pump." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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/ui/views/test/ui_controls_factory_desktop_aurax11.cc
===================================================================
--- trunk/src/ui/views/test/ui_controls_factory_desktop_aurax11.cc (revision 263732)
+++ trunk/src/ui/views/test/ui_controls_factory_desktop_aurax11.cc (working copy)
@@ -21,7 +21,6 @@
#include "ui/compositor/dip_util.h"
#include "ui/events/keycodes/keyboard_code_conversion_x.h"
#include "ui/events/test/platform_event_waiter.h"
-#include "ui/gfx/x/x11_connection.h"
#include "ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h"
namespace views {
@@ -281,9 +280,8 @@
} // namespace
UIControlsAura* CreateUIControlsDesktopAura() {
- // The constructor of UIControlsDesktopX11 needs X11 connection to be
- // initialized.
- gfx::InitializeThreadedX11();
+ // The constructor of UIControlsDesktopX11 needs XInitThreads to be called.
+ XInitThreads();
return new UIControlsDesktopX11();
}
« no previous file with comments | « trunk/src/ui/views/examples/examples_main.cc ('k') | trunk/src/ui/views/widget/desktop_aura/desktop_screen_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698