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

Unified Diff: ui/base/x/events_x.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 | « ui/base/x/device_data_manager.cc ('k') | ui/base/x/selection_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/x/events_x.cc
diff --git a/ui/base/x/events_x.cc b/ui/base/x/events_x.cc
index baa3bcf7bdc113c792b58bf7032a3e7d4b35f181..06301a9b08607b61d8eed7b9e555bee01d61f546 100644
--- a/ui/base/x/events_x.cc
+++ b/ui/base/x/events_x.cc
@@ -260,7 +260,7 @@ double GetTouchParamFromXEvent(XEvent* xev,
}
Atom GetNoopEventAtom() {
- return XInternAtom(ui::GetXDisplay(), "noop", False);
+ return XInternAtom(gfx::GetXDisplay(), "noop", False);
}
} // namespace
@@ -268,7 +268,7 @@ Atom GetNoopEventAtom() {
namespace ui {
void UpdateDeviceList() {
- Display* display = GetXDisplay();
+ XDisplay* display = gfx::GetXDisplay();
DeviceListCacheX::GetInstance()->UpdateDeviceList(display);
TouchFactory::GetInstance()->UpdateDeviceList(display);
DeviceDataManager::GetInstance()->UpdateDeviceList(display);
« no previous file with comments | « ui/base/x/device_data_manager.cc ('k') | ui/base/x/selection_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698