| 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 c5ee10e59350d02e998744334cd02e8047bc0792..faea1132ba20675e7b983aa8b654c6719af5b136 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
|
|
|