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

Unified Diff: third_party/WebKit/Source/core/paint/ReplacedPainter.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/ReplacedPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp b/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
index a8bc45199a223135ee98db45581390d89166a5be..62583a916f5c3dc4130160d454edd0932f94a76c 100644
--- a/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
@@ -24,6 +24,7 @@ static bool shouldApplyViewportClip(const LayoutReplaced& layoutReplaced) {
void ReplacedPainter::paint(const PaintInfo& paintInfo,
const LayoutPoint& paintOffset) {
+ ObjectPainter(m_layoutReplaced).checkPaintOffset(paintInfo, paintOffset);
LayoutPoint adjustedPaintOffset = paintOffset + m_layoutReplaced.location();
if (!shouldPaint(paintInfo, adjustedPaintOffset))
return;
« no previous file with comments | « third_party/WebKit/Source/core/paint/PartPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGRootPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698