Index: ui/aura/window_tree_host_platform.cc |
diff --git a/ui/aura/window_tree_host_platform.cc b/ui/aura/window_tree_host_platform.cc |
index c183a196dd1b86fdcb2d89e15c3bf9c8b8f74eca..4a9df21fca6941036a01ade7420987a8a186f123 100644 |
--- a/ui/aura/window_tree_host_platform.cc |
+++ b/ui/aura/window_tree_host_platform.cc |
@@ -51,7 +51,9 @@ WindowTreeHostPlatform::WindowTreeHostPlatform(const gfx::Rect& bounds) |
WindowTreeHostPlatform::WindowTreeHostPlatform() |
: widget_(gfx::kNullAcceleratedWidget), |
current_cursor_(ui::kCursorNull), |
- has_capture_(false) {} |
+ has_capture_(false) { |
+ CreateCompositor(); |
+} |
void WindowTreeHostPlatform::SetPlatformWindow( |
scoped_ptr<ui::PlatformWindow> window) { |