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 6bea9d3d4d49de5a249dfcb9d09a50bbe4c5875c..fa66c71a7862194010f8f023096b1696738dd5cd 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()); |
} |