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

Unified Diff: ash/display/display_controller.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 | « no previous file | ash/display/display_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_controller.cc
diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc
index 3ab258b6f0dafdbec268993e556d6ce93947f800..11b2fc8aa14ea4ef37b471f43557b0b87e890f57 100644
--- a/ash/display/display_controller.cc
+++ b/ash/display/display_controller.cc
@@ -44,6 +44,7 @@
#include "ash/display/output_configurator_animation.h"
#include "chromeos/display/output_configurator.h"
#include "ui/base/x/x11_util.h"
+#include "ui/gfx/x/x11_types.h"
// Including this at the bottom to avoid other
// potential conflict with chrome headers.
@@ -824,7 +825,7 @@ void DisplayController::UpdateHostWindowNames() {
std::string name =
root_windows[i] == primary ? "aura_root_0" : "aura_root_x";
gfx::AcceleratedWidget xwindow = root_windows[i]->GetAcceleratedWidget();
- XStoreName(ui::GetXDisplay(), xwindow, name.c_str());
+ XStoreName(gfx::GetXDisplay(), xwindow, name.c_str());
}
#endif
}
« no previous file with comments | « no previous file | ash/display/display_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698