Index: android_webview/browser/hardware_renderer.cc |
diff --git a/android_webview/browser/hardware_renderer.cc b/android_webview/browser/hardware_renderer.cc |
index 818d3c5c99aa9cbfb23464a3da96c36c8fc60a9e..86dd667edea06682be8ae4d0070df004c4136e71 100644 |
--- a/android_webview/browser/hardware_renderer.cc |
+++ b/android_webview/browser/hardware_renderer.cc |
@@ -93,8 +93,11 @@ HardwareRenderer::HardwareRenderer(SharedRendererState* state) |
// Webview does not own the surface so should not clear it. |
settings.should_clear_root_render_pass = false; |
- layer_tree_host_ = cc::LayerTreeHost::CreateSingleThreaded( |
- this, this, NULL, settings, NULL); |
+ // TODO(enne): Update this this compositor to use a synchronous scheduler. |
+ settings.single_thread_proxy_scheduler = false; |
+ |
+ layer_tree_host_ = |
+ cc::LayerTreeHost::CreateSingleThreaded(this, this, NULL, settings, NULL); |
layer_tree_host_->SetRootLayer(root_layer_); |
layer_tree_host_->SetLayerTreeHostClientReady(); |
layer_tree_host_->set_has_transparent_background(true); |