| 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 d250795635a9e35bae1551492886446cff56b8ce..71c2aace092628c090c516b09d7c6f9abdc4a4f1 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1235,7 +1235,7 @@ void LayerTreeHostImpl::UpdateTileManagerMemoryPolicy(
|
| 100);
|
|
|
| DCHECK(resource_pool_);
|
| - resource_pool_->CheckBusyResources();
|
| + resource_pool_->CheckBusyResources(false);
|
| // Soft limit is used for resource pool such that memory returns to soft
|
| // limit after going over.
|
| resource_pool_->SetResourceUsageLimits(
|
| @@ -1245,7 +1245,7 @@ void LayerTreeHostImpl::UpdateTileManagerMemoryPolicy(
|
|
|
| // Release all staging resources when invisible.
|
| if (staging_resource_pool_) {
|
| - staging_resource_pool_->CheckBusyResources();
|
| + staging_resource_pool_->CheckBusyResources(false);
|
| staging_resource_pool_->SetResourceUsageLimits(
|
| std::numeric_limits<size_t>::max(),
|
| std::numeric_limits<size_t>::max(),
|
| @@ -1457,7 +1457,7 @@ void LayerTreeHostImpl::ReclaimResources(const CompositorFrameAck* ack) {
|
| if (tile_manager_) {
|
| DCHECK(resource_pool_);
|
|
|
| - resource_pool_->CheckBusyResources();
|
| + resource_pool_->CheckBusyResources(false);
|
| resource_pool_->ReduceResourceUsage();
|
| }
|
| // If we're not visible, we likely released resources, so we want to
|
|
|