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 81f2e351f0ecbce2c97d5e145fba365506563d7c..d2c3f96a0e01ef210e43815bb76cfb6368c6bd8a 100644 |
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.cc |
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.cc |
@@ -194,7 +194,7 @@ gfx::Display DesktopScreenX11::GetDisplayNearestWindow( |
aura::WindowEventDispatcher* dispatcher = window->GetDispatcher(); |
if (dispatcher) { |
DesktopRootWindowHostX11* rwh = DesktopRootWindowHostX11::GetHostForXID( |
- dispatcher->GetAcceleratedWidget()); |
+ dispatcher->host()->GetAcceleratedWidget()); |
if (rwh) |
return GetDisplayMatching(rwh->GetX11RootWindowBounds()); |
} |