| 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 87f800e4547a966eef98702abd4f47c52deb6bfb..d088637832e50326b40c5209b53482cea5b7138f 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1702,7 +1702,8 @@ ManagedMemoryPolicy LayerTreeHostImpl::ActualManagedMemoryPolicy() const {
|
| // rasterization per layer, we also need to disable pre-painting selectively:
|
| // crbug.com/335387
|
| if (debug_state_.rasterize_only_visible_content ||
|
| - settings_.gpu_rasterization) {
|
| + settings_.rasterization_site !=
|
| + LayerTreeSettings::CpuRasterization) {
|
| actual.priority_cutoff_when_visible =
|
| gpu::MemoryAllocation::CUTOFF_ALLOW_REQUIRED_ONLY;
|
| }
|
|
|