Index: third_party/WebKit/Source/core/paint/ObjectPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/ObjectPainter.cpp b/third_party/WebKit/Source/core/paint/ObjectPainter.cpp |
index eb6ddfcc3de5c31d23949ae00d2d73a0342fea5c..f716d17045d1717f67da7ce04baf944aa4574870 100644 |
--- a/third_party/WebKit/Source/core/paint/ObjectPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/ObjectPainter.cpp |
@@ -707,10 +707,10 @@ void ObjectPainter::doCheckPaintOffset(const PaintInfo& paintInfo, |
LayoutPoint adjustedPaintOffset = paintOffset; |
if (m_layoutObject.isBox()) |
adjustedPaintOffset += toLayoutBox(m_layoutObject).location(); |
- DCHECK(m_layoutObject.previousPaintOffset() == adjustedPaintOffset) |
+ DCHECK(m_layoutObject.paintOffset() == adjustedPaintOffset) |
<< " Paint offset mismatch: " << m_layoutObject.debugName() |
<< " from PaintPropertyTreeBuilder: " |
- << m_layoutObject.previousPaintOffset().toString() |
+ << m_layoutObject.paintOffset().toString() |
<< " from painter: " << adjustedPaintOffset.toString(); |
} |
#endif |