| 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());
|
|
|