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

Unified Diff: ui/base/x/events_x.cc

Issue 23622035: x11: Prefer using ui::GetXDisplay() over getting the Display from the X11 message-pump. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
Index: ui/base/x/events_x.cc
diff --git a/ui/base/x/events_x.cc b/ui/base/x/events_x.cc
index a0fa2e9717393d762f5588cd709723c222c1d9a0..f4ab3094719443f93f843ae4d1af0974952b41c1 100644
--- a/ui/base/x/events_x.cc
+++ b/ui/base/x/events_x.cc
@@ -261,7 +261,7 @@ double GetTouchParamFromXEvent(XEvent* xev,
Atom GetNoopEventAtom() {
return XInternAtom(
- base::MessagePumpX11::GetDefaultXDisplay(),
+ ui::GetXDisplay(),
"noop", False);
oshima 2013/09/17 15:05:10 ditto
sadrul 2013/09/17 15:28:44 Done.
}

Powered by Google App Engine
This is Rietveld 408576698