Index: third_party/WebKit/Source/core/paint/BlockPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/BlockPainter.cpp b/third_party/WebKit/Source/core/paint/BlockPainter.cpp |
index 2b80cc07a51af1e9ac4fce65a2911692d266150e..4c08b5ee5d36f64df85b4b3ec6cd380be478fdc4 100644 |
--- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp |
@@ -151,7 +151,7 @@ void BlockPainter::paintObject(const PaintInfo& paintInfo, const LayoutPoint& pa |
// Set previousPaintOffset here in case that m_layoutBlock paints nothing and no |
// LayoutObjectDrawingRecorder updates its previousPaintOffset. |
// TODO(wangxianzhu): Integrate paint offset checking into new paint invalidation. |
- m_layoutBlock.setPreviousPaintOffset(paintOffset); |
+ m_layoutBlock.mutableForPainting().setPreviousPaintOffset(paintOffset); |
} |
const PaintPhase paintPhase = paintInfo.phase; |