| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index a49c516fbfe0aa93bf76bf5736f794b19b32a5f8..3cb285883b6356d4923e75bf3169a4473f108dbe 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -295,7 +295,7 @@ void LayerTreeHostImpl::BeginCommit() {
|
| if (!settings_.impl_side_painting && output_surface_)
|
| output_surface_->ForceReclaimResources();
|
|
|
| - if (UsePendingTreeForSync())
|
| + if (settings_.impl_side_painting && !proxy_->CommitToActiveTree())
|
| CreatePendingTree();
|
| }
|
|
|
| @@ -2072,12 +2072,6 @@ void LayerTreeHostImpl::DestroyTileManager() {
|
| single_thread_synchronous_task_graph_runner_ = nullptr;
|
| }
|
|
|
| -bool LayerTreeHostImpl::UsePendingTreeForSync() const {
|
| - // In impl-side painting, synchronize to the pending tree so that it has
|
| - // time to raster before being displayed.
|
| - return settings_.impl_side_painting;
|
| -}
|
| -
|
| bool LayerTreeHostImpl::IsSynchronousSingleThreaded() const {
|
| return !proxy_->HasImplThread() && !settings_.single_thread_proxy_scheduler;
|
| }
|
|
|