| 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 7c509601decc9aa152a3c41ac2665322d59a64dc..915d11aff13c254d27d37ce4e75d32587f1d76c7 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -298,7 +298,7 @@ void LayerTreeHostImpl::BeginCommit() {
|
| if (!settings_.impl_side_painting && output_surface_)
|
| output_surface_->ForceReclaimResources();
|
|
|
| - if (UsePendingTreeForSync())
|
| + if (settings_.impl_side_painting && !proxy_->CommitToActiveTree())
|
| CreatePendingTree();
|
| }
|
|
|
| @@ -2053,12 +2053,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;
|
| }
|
|
|