Index: ui/aura/window_tree_host_x11.cc |
diff --git a/ui/aura/window_tree_host_x11.cc b/ui/aura/window_tree_host_x11.cc |
index 8059d90bff23d096a4275bfca2ff9036880f7f4e..084296c34086b8ab8e2c9a20912036b04dedf0be 100644 |
--- a/ui/aura/window_tree_host_x11.cc |
+++ b/ui/aura/window_tree_host_x11.cc |
@@ -276,7 +276,8 @@ WindowTreeHostX11::WindowTreeHostX11(const gfx::Rect& bounds) |
XRRSelectInput(xdisplay_, x_root_window_, |
RRScreenChangeNotifyMask | RROutputChangeNotifyMask); |
- CreateCompositor(GetAcceleratedWidget()); |
+ CreateCompositor(); |
+ OnAcceleratedWidgetAvailable(); |
} |
WindowTreeHostX11::~WindowTreeHostX11() { |