| Index: cc/debug/debug_rect_history.cc
|
| diff --git a/cc/debug/debug_rect_history.cc b/cc/debug/debug_rect_history.cc
|
| index ebe6936f6473210d00bbda025602ce9eecca677c..80c5838321e70d187abaf1f6b7fbe57b5effd4fb 100644
|
| --- a/cc/debug/debug_rect_history.cc
|
| +++ b/cc/debug/debug_rect_history.cc
|
| @@ -72,7 +72,7 @@ void DebugRectHistory::SavePaintRects(LayerImpl* root_layer) {
|
| // not. Therefore we traverse over all layers, not just the render surface
|
| // list.
|
| for (auto* layer : *root_layer->layer_tree_impl()) {
|
| - Region invalidation_region = layer->GetInvalidationRegion();
|
| + Region invalidation_region = layer->GetInvalidationRegionForDebugging();
|
| if (invalidation_region.IsEmpty() || !layer->DrawsContent())
|
| continue;
|
|
|
|
|