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 ae250bfccabca4a2900c7f12483378e5d69586fd..2e0f12499fa51a5d094f33f43824bd1b42fe8f92 100644 |
--- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp |
@@ -161,7 +161,7 @@ void BlockPainter::paintObject(const PaintInfo& paintInfo, const LayoutPoint& pa |
if (auto* scrollTranslation = objectProperties ? objectProperties->scrollTranslation() : nullptr) { |
PaintChunkProperties properties(paintInfo.context.getPaintController().currentPaintChunkProperties()); |
properties.transform = scrollTranslation; |
- m_scopedScrollProperty.emplace(paintInfo.context.getPaintController(), properties); |
+ m_scopedScrollProperty.emplace(paintInfo.context.getPaintController(), m_layoutBlock, DisplayItem::paintPhaseToDrawingType(paintPhase), properties); |
scrolledPaintInfo.emplace(paintInfo); |
scrolledPaintInfo->updateCullRect(scrollTranslation->matrix().toAffineTransform()); |
} |