Index: Source/core/layout/LayoutObject.h |
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h |
index 24c709dc7fa5c6ca2e90d315cc80a3032e243e16..c045fc528054a209c40b805334411db8bb5fefc9 100644 |
--- a/Source/core/layout/LayoutObject.h |
+++ b/Source/core/layout/LayoutObject.h |
@@ -999,6 +999,7 @@ public: |
// The previous paint invalidation rect, in the the space of the paint invalidation container (*not* the graphics layer that paints |
// this object). |
LayoutRect previousPaintInvalidationRectIncludingCompositedScrolling(const LayoutBoxModelObject& paintInvalidationContainer) const; |
+ LayoutSize previousPaintInvalidationRectSize() const { return previousPaintInvalidationRect().size(); } |
void setPreviousPaintInvalidationRect(const LayoutRect& rect) { m_previousPaintInvalidationRect = rect; } |
// Only adjusts if the paint invalidation container is not a composited scroller. |