Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1295)

Unified Diff: Source/core/paint/DisplayItemListPaintTest.h

Issue 1327563003: Don't cache subsequence whose layer is not fully contained by repaint rect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(); }

Powered by Google App Engine
This is Rietveld 408576698