Chromium Code Reviews| 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 fbc4a820f982496949dce7d3040f3a0518f703c4..da8b6b7afa55219ef692e2ec65d3dc8cfea9b493 100644 |
| --- a/cc/trees/layer_tree_host_impl.cc |
| +++ b/cc/trees/layer_tree_host_impl.cc |
| @@ -1647,7 +1647,8 @@ void LayerTreeHostImpl::SetNeedsRedraw() { |
| ManagedMemoryPolicy LayerTreeHostImpl::ActualManagedMemoryPolicy() const { |
| ManagedMemoryPolicy actual = cached_managed_memory_policy_; |
| - if (debug_state_.rasterize_only_visible_content) { |
| + if (debug_state_.rasterize_only_visible_content || |
| + settings_.gpu_rasterization) { |
|
danakj
2014/01/14 22:52:19
Doesn't this affect all layers including ones that
|
| actual.priority_cutoff_when_visible = |
| gpu::MemoryAllocation::CUTOFF_ALLOW_REQUIRED_ONLY; |
| } |