Index: ui/views/widget/desktop_aura/desktop_screen_x11.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_screen_x11.cc b/ui/views/widget/desktop_aura/desktop_screen_x11.cc |
index 6c89dd053deb4675f70b152bd45d5ce54f86a385..0e6858bd0841aa9a45c04e65677f9cee90d41eb2 100644 |
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.cc |
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.cc |
@@ -120,7 +120,7 @@ namespace views { |
// DesktopScreenX11, public: |
DesktopScreenX11::DesktopScreenX11() |
- : xdisplay_(base::MessagePumpX11::GetDefaultXDisplay()), |
+ : xdisplay_(gfx::GetXDisplay()), |
x_root_window_(DefaultRootWindow(xdisplay_)), |
has_xrandr_(false), |
xrandr_event_base_(0) { |
@@ -342,7 +342,7 @@ uint32_t DesktopScreenX11::DispatchEvent(const ui::PlatformEvent& event) { |
DesktopScreenX11::DesktopScreenX11( |
const std::vector<gfx::Display>& test_displays) |
- : xdisplay_(base::MessagePumpX11::GetDefaultXDisplay()), |
+ : xdisplay_(gfx::GetXDisplay()), |
x_root_window_(DefaultRootWindow(xdisplay_)), |
has_xrandr_(false), |
xrandr_event_base_(0), |