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

Unified Diff: components/html_viewer/web_layer_tree_view_impl.cc

Issue 1144153004: components: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 7 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 | « components/html_viewer/web_layer_tree_view_impl.h ('k') | components/invalidation/gcm_network_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/web_layer_tree_view_impl.cc
diff --git a/components/html_viewer/web_layer_tree_view_impl.cc b/components/html_viewer/web_layer_tree_view_impl.cc
index 98885cd73a7653954c496ffeb69dcd8eb851d9b3..85cd8aff1aa2bf73aa5c55871d68a1453839ed2c 100644
--- a/components/html_viewer/web_layer_tree_view_impl.cc
+++ b/components/html_viewer/web_layer_tree_view_impl.cc
@@ -19,7 +19,7 @@
namespace html_viewer {
WebLayerTreeViewImpl::WebLayerTreeViewImpl(
- scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy,
+ scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner,
mojo::SurfacePtr surface,
mojo::GpuPtr gpu_service)
: widget_(NULL),
@@ -47,7 +47,7 @@ WebLayerTreeViewImpl::WebLayerTreeViewImpl(
params.main_task_runner = main_thread_compositor_task_runner_;
layer_tree_host_ =
- cc::LayerTreeHost::CreateThreaded(compositor_message_loop_proxy, &params);
+ cc::LayerTreeHost::CreateThreaded(compositor_task_runner, &params);
DCHECK(layer_tree_host_);
if (surface && gpu_service) {
« no previous file with comments | « components/html_viewer/web_layer_tree_view_impl.h ('k') | components/invalidation/gcm_network_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698