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

Unified Diff: trunk/src/ash/wm/ash_native_cursor_manager_interactive_uitest.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
« no previous file with comments | « trunk/src/ash/test/ash_test_base.cc ('k') | trunk/src/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ash/wm/ash_native_cursor_manager_interactive_uitest.cc
===================================================================
--- trunk/src/ash/wm/ash_native_cursor_manager_interactive_uitest.cc (revision 263732)
+++ trunk/src/ash/wm/ash_native_cursor_manager_interactive_uitest.cc (working copy)
@@ -20,7 +20,7 @@
#if defined(USE_X11)
#include <X11/Xlib.h>
-#include "ui/gfx/x/x11_types.h"
+#include "base/message_loop/message_pump_x11.h"
#endif
namespace ash {
@@ -59,7 +59,7 @@
void MoveMouseSync(aura::Window* window, int x, int y) {
#if defined(USE_X11)
- XWarpPointer(gfx::GetXDisplay(),
+ XWarpPointer(base::MessagePumpX11::GetDefaultXDisplay(),
None,
window->GetHost()->GetAcceleratedWidget(),
0, 0, 0, 0,
« no previous file with comments | « trunk/src/ash/test/ash_test_base.cc ('k') | trunk/src/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698