Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
index 059ae5c56cd837daaecba9df25ae72258ef1403d..981f3bb2a77b15176a97f6caedcdaafaf348e5de 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
@@ -1343,7 +1343,7 @@ void PaintLayerScrollableArea::resize(const PlatformEvent& evt, const LayoutSize |
element->setInlineStyleProperty(CSSPropertyHeight, roundToInt(baseHeight + difference.height()), CSSPrimitiveValue::UnitType::Pixels); |
} |
- document.updateLayout(); |
+ document.updateStyleAndLayout(); |
// FIXME (Radar 4118564): We should also autoscroll the window as necessary to keep the point under the cursor in view. |
} |