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

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: 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') | ui/base/x/x11_util.h » ('J')
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 8dde73051416bc51de0660a00b21b7c4cf039ff5..6fa52d475d1967fe6845d1d1af93eee40df46cad 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') | ui/base/x/x11_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698