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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 363383002: Forward input tasks to the Blink scheduler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests. 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 | « no previous file | content/renderer/input/input_event_filter.h » ('j') | content/renderer/render_thread_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index 64789d238ce458ddac8ed9fb1afc768433651ca1..f0bd94ce578a01aeeafca7f0ad6d9ad82c6c091d 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -528,7 +528,7 @@ void RenderWidgetCompositor::Initialize(cc::LayerTreeSettings settings) {
this,
shared_bitmap_manager,
settings,
- base::MessageLoopProxy::current(),
+ render_thread->main_thread_compositor_task_runner(),
compositor_message_loop_proxy);
} else {
layer_tree_host_ = cc::LayerTreeHost::CreateSingleThreaded(
@@ -536,7 +536,7 @@ void RenderWidgetCompositor::Initialize(cc::LayerTreeSettings settings) {
this,
shared_bitmap_manager,
settings,
- base::MessageLoopProxy::current());
+ render_thread->main_thread_compositor_task_runner());
}
DCHECK(layer_tree_host_);
}
« no previous file with comments | « no previous file | content/renderer/input/input_event_filter.h » ('j') | content/renderer/render_thread_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698