Index: third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
index 68cdd9c97e51f0c8a14fe239d12a635b5d870021..e0830d1db4773a05e1f77c26c237425d53387bd9 100644 |
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp |
@@ -348,7 +348,8 @@ void PaintInvalidationState::updateForNormalChildren() { |
if (box.isLayoutView()) { |
if (!RuntimeEnabledFeatures::rootLayerScrollingEnabled()) { |
if (box != m_paintInvalidationContainer) { |
- m_paintOffset -= toLayoutView(box).frameView()->scrollOffset(); |
+ m_paintOffset -= |
+ LayoutSize(toLayoutView(box).frameView()->scrollOffset()); |
addClipRectRelativeToPaintOffset(toLayoutView(box).viewRect()); |
} |
return; |