| 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 14a6ffd138bfc0fe8b56c5fa7c7f949fa56decf4..9203760ca6acf2326d7be826febcf03bf5e32d68 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -773,7 +773,8 @@ DrawResult LayerTreeHostImpl::CalculateRenderPasses(FrameData* frame) {
|
| // frame at all.
|
| RenderSurfaceImpl* root_surface = active_tree_->RootRenderSurface();
|
| bool root_surface_has_no_visible_damage =
|
| - !root_surface->damage_tracker()->current_damage_rect().Intersects(
|
| + !root_surface->damage_tracker()->ShouldDamageEverything() &&
|
| + !root_surface->damage_tracker()->CurrentDamageRect().Intersects(
|
| root_surface->content_rect());
|
| bool root_surface_has_contributing_layers =
|
| !root_surface->layer_list().empty();
|
|
|