Index: cc/trees/debug_rect_history.cc |
diff --git a/cc/trees/debug_rect_history.cc b/cc/trees/debug_rect_history.cc |
index c07fca2c7458967c97c52867e4d9b1bc5e893ae2..35c8db1073d7d6dde3e99a275b83b95f03441bd9 100644 |
--- a/cc/trees/debug_rect_history.cc |
+++ b/cc/trees/debug_rect_history.cc |
@@ -197,7 +197,7 @@ void DebugRectHistory::SaveNonFastScrollableRectsCallback(LayerImpl* layer) { |
void DebugRectHistory::SaveLayerAnimationBoundsRects(LayerTreeImpl* tree_impl) { |
for (auto it = tree_impl->rbegin(); it != tree_impl->rend(); ++it) { |
- if (!(*it)->is_drawn_render_surface_layer_list_member()) |
+ if (!(*it)->contributes_to_drawn_render_surface()) |
continue; |
// TODO(avallee): Figure out if we should show something for a layer who's |