Index: Source/core/paint/DisplayItemListPaintTest.h |
diff --git a/Source/core/paint/DisplayItemListPaintTest.h b/Source/core/paint/DisplayItemListPaintTest.h |
index ac282a254b70039ba2ff40b3c1b7f84f40381406..6574eab4c7f713dc4649a0158da3bc048565cd53 100644 |
--- a/Source/core/paint/DisplayItemListPaintTest.h |
+++ b/Source/core/paint/DisplayItemListPaintTest.h |
@@ -52,11 +52,11 @@ protected: |
DisplayItemList& rootDisplayItemList() { return *layoutView().layer()->graphicsLayerBacking()->displayItemList(); } |
// Expose some document lifecycle steps for checking new display items before commiting. |
- void updateLifecyclePhasesToPaintForSlimmingPaintV2Clean() |
+ void updateLifecyclePhasesToPaintForSlimmingPaintV2Clean(const LayoutRect& interestRect = LayoutRect::infiniteRect()) |
{ |
document().view()->updateLifecyclePhasesInternal(FrameView::OnlyUpToCompositingCleanPlusScrolling); |
document().view()->invalidateTreeIfNeededRecursive(); |
- document().view()->paintForSlimmingPaintV2(); |
+ document().view()->paintForSlimmingPaintV2(interestRect); |
} |
void compositeForSlimmingPaintV2() { document().view()->compositeForSlimmingPaintV2(); } |