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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 363383002: Forward input tasks to the Blink scheduler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup. DefaultMainThreadTaskRunner now dispatches properly. 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
Index: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index 6232bcdb434467966c7e2ba5b0d99ad07063a930..cb631a2d9ff62a15d66b3f75d5f52d4e803dd992 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -419,7 +419,8 @@ void CompositorImpl::SetVisible(bool visible) {
command_line->HasSwitch(cc::switches::kUIShowFPSCounter);
host_ = cc::LayerTreeHost::CreateSingleThreaded(
- this, this, HostSharedBitmapManager::current(), settings);
+ this, this, HostSharedBitmapManager::current(), settings,
+ make_scoped_refptr(new cc::DefaultMainThreadTaskRunner()));
host_->SetRootLayer(root_layer_);
host_->SetVisible(true);

Powered by Google App Engine
This is Rietveld 408576698