summaryrefslogtreecommitdiffstats
path: root/mojo/examples/compositor_app
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/examples/compositor_app')
-rw-r--r--mojo/examples/compositor_app/compositor_host.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/mojo/examples/compositor_app/compositor_host.cc b/mojo/examples/compositor_app/compositor_host.cc
index 3160145..1c47cdb 100644
--- a/mojo/examples/compositor_app/compositor_host.cc
+++ b/mojo/examples/compositor_app/compositor_host.cc
@@ -23,7 +23,11 @@ CompositorHost::CompositorHost(ScopedMessagePipeHandle command_buffer_handle)
cc::LayerTreeSettings settings;
tree_ = cc::LayerTreeHost::CreateThreaded(
- this, NULL, settings, compositor_thread_.message_loop_proxy());
+ this,
+ NULL,
+ settings,
+ base::MessageLoopProxy::current(),
+ compositor_thread_.message_loop_proxy());
SetupScene();
}