| 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 8d3fe4e336d60ff9f31969bcd56b465229755373..c5cbaf7a0f567c57811c2ee7d819580a7120fd33 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -819,6 +819,12 @@ void FrameView::recalcOverflowAfterStyleChange() {
|
| if (needsLayout())
|
| return;
|
|
|
| + // If the visualViewport supplies scrollbars, we won't get a paint
|
| + // invalidation from computeScrollbarExistence so we need to force one
|
| + // TODO(bokan): We should avoid computeScrollbarExistence otherwise.
|
| + if (visualViewportSuppliesScrollbars())
|
| + layoutViewItem.setMayNeedPaintInvalidation();
|
| +
|
| // TODO(pdr): This should be refactored to just block scrollbar updates as
|
| // we are not in a scrollbar update here and m_inUpdateScrollbars has other
|
| // side effects. This scope is only for preventing a synchronous layout from
|
|
|