Index: third_party/WebKit/Source/core/paint/PaintLayer.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h |
index 4b47a60f6b8c037eafdd3e9489a0d3542a69666c..7a0ec3bc69d5f93ee3914424a4f5e36b1c77ba5f 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h |
@@ -616,6 +616,9 @@ public: |
IntSize previousScrollOffsetAccumulationForPainting() const { return m_previousScrollOffsetAccumulationForPainting; } |
void setPreviousScrollOffsetAccumulationForPainting(const IntSize& s) { m_previousScrollOffsetAccumulationForPainting = s; } |
+ ClipRects* previousPaintingClipRects() const { return m_previousPaintingClipRects.get(); } |
+ void setPreviousPaintingClipRects(ClipRects* clipRects) { m_previousPaintingClipRects = clipRects; } |
+ |
// For subsequence display items. |
DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); } |
@@ -806,6 +809,7 @@ private: |
LayoutSize m_subpixelAccumulation; // The accumulated subpixel offset of a composited layer's composited bounds compared to absolute coordinates. |
IntSize m_previousScrollOffsetAccumulationForPainting; |
+ RefPtr<ClipRects> m_previousPaintingClipRects; |
}; |
} // namespace blink |