Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1646)

Unified Diff: mojo/examples/compositor_app/compositor_host.cc

Issue 400773002: cc: Parameterize the main thread task runner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WebView fix. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/web_layer_tree_view_impl_for_testing.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/compositor_app/compositor_host.cc
diff --git a/mojo/examples/compositor_app/compositor_host.cc b/mojo/examples/compositor_app/compositor_host.cc
index 31601456aa4f68fdcdd461aeb83b5ce8f9e48869..1c47cdb59caa7b6e124d1d6a10170011733c6f35 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();
}
« no previous file with comments | « content/test/web_layer_tree_view_impl_for_testing.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698