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

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

Issue 2713673005: client-goodbye
Patch Set: Created 3 years, 10 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/BlockPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BlockPainter.cpp b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
index 59aeae5ab703aa848fd6b56ba10e98033758a241..6ccd5c50b12c2249e6eac07f4faeae39249e895e 100644
--- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
@@ -218,8 +218,10 @@ void BlockPainter::paintObject(const PaintInfo& paintInfo,
} else if (m_layoutBlock.hasOverflowClip()) {
IntSize scrollOffset = m_layoutBlock.scrolledContentOffset();
if (m_layoutBlock.layer()->scrollsOverflow() || !scrollOffset.isZero()) {
- scrollRecorder.emplace(paintInfo.context, m_layoutBlock, paintPhase,
- scrollOffset);
+ scrollRecorder.emplace(
+ paintInfo.context, paintPhase, scrollOffset,
+ m_layoutBlock.visualRect(), m_layoutBlock.debugName(),
+ m_layoutBlock.paintedOutputOfObjectHasNoEffectRegardlessOfSize());
scrolledPaintInfo.emplace(paintInfo);
AffineTransform transform;
transform.translate(-scrollOffset.width(), -scrollOffset.height());

Powered by Google App Engine
This is Rietveld 408576698