| 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 b32ed4e00bcbb3aa36ed3c7f8611da47db624879..243e81da0aea8d6a4a7640d5246cc649659ab0b1 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -797,11 +797,12 @@ DrawResult LayerTreeHostImpl::CalculateRenderPasses(
|
| !root_surface->layer_list().empty();
|
| bool hud_wants_to_draw_ = active_tree_->hud_layer() &&
|
| active_tree_->hud_layer()->IsAnimatingHUDContents();
|
| + bool resources_must_be_resent =
|
| + output_surface_->capabilities().can_force_reclaim_resources;
|
| if (root_surface_has_contributing_layers &&
|
| root_surface_has_no_visible_damage &&
|
| !active_tree_->property_trees()->effect_tree.HasCopyRequests() &&
|
| - !output_surface_->capabilities().can_force_reclaim_resources &&
|
| - !hud_wants_to_draw_) {
|
| + !resources_must_be_resent && !hud_wants_to_draw_) {
|
| TRACE_EVENT0("cc",
|
| "LayerTreeHostImpl::CalculateRenderPasses::EmptyDamageRect");
|
| frame->has_no_damage = true;
|
|
|