| 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 f34432f62f9371ec8b80f123263486189494b34c..46c49257b71467b6967e00de66e1c91f4e08fac8 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1706,7 +1706,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_.gpu_rasterization_state !=
|
| + LayerTreeSettings::GpuRasterizationDisabled) {
|
| actual.priority_cutoff_when_visible =
|
| gpu::MemoryAllocation::CUTOFF_ALLOW_REQUIRED_ONLY;
|
| }
|
|
|