Chromium Code Reviews| 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 f56415b0083fa1e5dcddc4866f4ee3d0e1a31b9d..f48b49d5b7e3bbee65d74396a344a6237ecbbfc4 100644 |
| --- a/third_party/WebKit/Source/core/paint/ObjectPainter.cpp |
| +++ b/third_party/WebKit/Source/core/paint/ObjectPainter.cpp |
| @@ -707,7 +707,11 @@ 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.previousPaintOffset() == adjustedPaintOffset) |
| + << " Paint offset mismatch: " << m_layoutObject.debugName() |
| + << " from PaintPropertyTreeBulder: " |
|
pdr.
2016/11/16 03:53:49
Nit: Builder
Xianzhu
2016/11/16 04:05:47
Done.
|
| + << m_layoutObject.previousPaintOffset().toString() |
| + << " from painter: " << adjustedPaintOffset.toString(); |
| } |
| #endif |