| 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 7dc7dd3c957f1556dbdcfc1ac7d2f16b6225176b..5b3a02406bd7f00b374624ded994fc394cc8d903 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -782,8 +782,7 @@ 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->content_rect());
|
| + !root_surface->GetDamageRect().Intersects(root_surface->content_rect());
|
| bool root_surface_has_contributing_layers =
|
| !root_surface->layer_list().empty();
|
| bool hud_wants_to_draw_ = active_tree_->hud_layer() &&
|
|
|