Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPainter.cpp

Issue 2614093002: Combine LayoutObject::previousPaintOffset and paintOffset in paint properties (Closed)
Patch Set: Resolve conflict Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698