| 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 b7778b41aa861dfd7cf618bce0136ed52cb30e91..da155d43e06e34ff67f343a6a480685633f63e5f 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() &&
|
|
|