| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 9ea6758d5cbf4e847ae86cf40f4c44fccd4e7b08..f2c3c61e6c76b046d1c5e1b7eda4ee2a7b799425 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -655,10 +655,6 @@ void FrameView::setContentsSize(const IntSize& size) {
|
| updateScrollbars();
|
| ScrollableArea::contentsResized();
|
|
|
| - if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() &&
|
| - !RuntimeEnabledFeatures::rootLayerScrollingEnabled())
|
| - setNeedsPaintPropertyUpdate();
|
| -
|
| Page* page = frame().page();
|
| if (!page)
|
| return;
|
| @@ -4017,6 +4013,9 @@ void FrameView::updateScrollbars() {
|
| if (RuntimeEnabledFeatures::rootLayerScrollingEnabled())
|
| return;
|
|
|
| + if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
|
| + setNeedsPaintPropertyUpdate();
|
| +
|
| // Avoid drawing two sets of scrollbars when visual viewport is enabled.
|
| if (visualViewportSuppliesScrollbars()) {
|
| m_scrollbarManager.setHasHorizontalScrollbar(false);
|
|
|