| Index: android_webview/browser/hardware_renderer.cc
|
| diff --git a/android_webview/browser/hardware_renderer.cc b/android_webview/browser/hardware_renderer.cc
|
| index eaf34a9a595dc71eacaf0f6ec1ff76be77a5bd59..110643211e0f64cb02e138763c80a005eb8c44cd 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);
|
|
|