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

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

Issue 2489893002: [SPv2] Track paint offset change (Closed)
Patch Set: - Created 4 years, 1 month 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/BlockPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BlockPainter.cpp b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
index 866c75c6c643033a03ec134f65f80dedb8f57600..c8f5684283f6504be0c1c3d04965372219b162aa 100644
--- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
@@ -29,6 +29,7 @@ namespace blink {
void BlockPainter::paint(const PaintInfo& paintInfo,
const LayoutPoint& paintOffset) {
+ ObjectPainter(m_layoutBlock).checkPaintOffset(paintInfo, paintOffset);
LayoutPoint adjustedPaintOffset = paintOffset + m_layoutBlock.location();
if (!intersectsPaintRect(paintInfo, adjustedPaintOffset))
return;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/paint/BoxPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698