Index: third_party/WebKit/Source/core/paint/FramePainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.cpp b/third_party/WebKit/Source/core/paint/FramePainter.cpp |
index 7010f0987fb215576200376d3ca098f2e7d3457f..436dd0fb75d1da83426222ef76a93a4de1d2c16c 100644 |
--- a/third_party/WebKit/Source/core/paint/FramePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp |
@@ -48,10 +48,13 @@ void FramePainter::paint(GraphicsContext& context, const GlobalPaintFlags global |
if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { |
TransformPaintPropertyNode* transform = m_frameView->scrollTranslation() ? m_frameView->scrollTranslation() : m_frameView->preTranslation(); |
ClipPaintPropertyNode* clip = m_frameView->contentClip(); |
- if (transform || clip) { |
+ ScrollPaintPropertyNode* scroll = m_frameView->scroll(); |
+ if (transform || clip || scroll) { |
PaintChunkProperties properties(context.getPaintController().currentPaintChunkProperties()); |
if (transform) |
properties.transform = transform; |
+ if (scroll) |
+ properties.scroll = scroll; |
if (clip) |
properties.clip = clip; |
scopedPaintChunkProperties.emplace(context.getPaintController(), *frameView().layoutView(), properties); |