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); |