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

Unified Diff: ash/display/display_controller_unittest.cc

Issue 23460052: Move XID, XDisplay, GetXDisplay and a few other types to ui/gfx/x/x11_types.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sdf 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
« no previous file with comments | « ash/display/display_controller.cc ('k') | ash/display/mirror_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_controller_unittest.cc
diff --git a/ash/display/display_controller_unittest.cc b/ash/display/display_controller_unittest.cc
index 485e58291980a799e803fd41cec7baae1685375d..287b0e4f455ba25a4448deff9c9330b6536eace8 100644
--- a/ash/display/display_controller_unittest.cc
+++ b/ash/display/display_controller_unittest.cc
@@ -29,7 +29,7 @@
#include "ui/views/widget/widget.h"
#if defined(USE_X11)
-#include "ui/base/x/x11_util.h"
+#include "ui/gfx/x/x11_types.h"
#include <X11/Xlib.h>
#undef RootWindow
#endif
@@ -288,7 +288,7 @@ void GetPrimaryAndSeconary(aura::RootWindow** primary,
std::string GetXWindowName(aura::RootWindow* window) {
char* name = NULL;
- XFetchName(ui::GetXDisplay(), window->GetAcceleratedWidget(), &name);
+ XFetchName(gfx::GetXDisplay(), window->GetAcceleratedWidget(), &name);
std::string ret(name);
XFree(name);
return ret;
« no previous file with comments | « ash/display/display_controller.cc ('k') | ash/display/mirror_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698