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

Unified Diff: trunk/src/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc

Issue 23943010: Revert 223621 "x11: Prefer using ui::GetXDisplay() over getting ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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: trunk/src/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc
===================================================================
--- trunk/src/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (revision 223638)
+++ trunk/src/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc (working copy)
@@ -114,7 +114,7 @@
DesktopNativeWidgetAura* desktop_native_widget_aura,
const gfx::Rect& initial_bounds)
: close_widget_factory_(this),
- xdisplay_(ui::GetXDisplay()),
+ xdisplay_(base::MessagePumpX11::GetDefaultXDisplay()),
xwindow_(0),
x_root_window_(DefaultRootWindow(xdisplay_)),
atom_cache_(xdisplay_, kAtomsToCache),

Powered by Google App Engine
This is Rietveld 408576698