| Index: third_party/WebKit/Source/core/layout/LayoutObject.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| index 083365e51a9984b7327185b09b1c89ee8e240b9c..709f3bba05d33abb9efaceb114c0ba7a0e2ce02f 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -1237,7 +1237,9 @@ public:
|
| // this object).
|
| LayoutRect previousPaintInvalidationRectIncludingCompositedScrolling(const LayoutBoxModelObject& paintInvalidationContainer) const;
|
| LayoutSize previousPaintInvalidationRectSize() const { return previousPaintInvalidationRect().size(); }
|
| - void setPreviousPaintInvalidationRect(const LayoutRect& rect) { m_previousPaintInvalidationRect = rect; }
|
| +
|
| + // Called when the previous paint invalidation rect(s) is no longer valid.
|
| + virtual void clearPreviousPaintInvalidationRects();
|
|
|
| // Only adjusts if the paint invalidation container is not a composited scroller.
|
| void adjustPreviousPaintInvalidationForScrollIfNeeded(const DoubleSize& scrollDelta);
|
| @@ -1433,6 +1435,8 @@ protected:
|
| // of this layoutObject within the current layer that should be used for each result.
|
| virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const { }
|
|
|
| + void setPreviousPaintInvalidationRect(const LayoutRect& rect) { m_previousPaintInvalidationRect = rect; }
|
| +
|
| virtual PaintInvalidationReason paintInvalidationReason(const LayoutBoxModelObject& paintInvalidationContainer,
|
| const LayoutRect& oldPaintInvalidationRect, const LayoutPoint& oldPositionFromPaintInvalidationBacking,
|
| const LayoutRect& newPaintInvalidationRect, const LayoutPoint& newPositionFromPaintInvalidationBacking) const;
|
|
|