Index: ui/views/widget/desktop_aura/x11_window_event_filter.cc |
diff --git a/ui/views/widget/desktop_aura/x11_window_event_filter.cc b/ui/views/widget/desktop_aura/x11_window_event_filter.cc |
index e340bdb7690441577dd342cb55e44aeaa12e281c..21835458d386cf30d93a133fa5c6c84dd44aa24f 100644 |
--- a/ui/views/widget/desktop_aura/x11_window_event_filter.cc |
+++ b/ui/views/widget/desktop_aura/x11_window_event_filter.cc |
@@ -61,7 +61,7 @@ namespace views { |
X11WindowEventFilter::X11WindowEventFilter( |
aura::RootWindow* root_window) |
: xdisplay_(gfx::GetXDisplay()), |
- xwindow_(root_window->GetAcceleratedWidget()), |
+ xwindow_(root_window->host()->GetAcceleratedWidget()), |
x_root_window_(DefaultRootWindow(xdisplay_)), |
atom_cache_(xdisplay_, kAtomsToCache), |
is_active_(false) { |