Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index c9c429ac81677e8f703528ccb03a89e71f526610..2114e303526b6d5fd6fc80500380fb502dfe1edd 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -642,6 +642,11 @@ void FrameView::recalcOverflowAfterStyleChange() |
layoutView->recalcOverflowAfterStyleChange(); |
+ // Changing overflow should notify scrolling coordinator to ensures that it |
+ // updates non-fast scroll rects even if there is no layout. |
+ if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator()) |
+ scrollingCoordinator->notifyOverflowUpdated(); |
+ |
IntRect documentRect = layoutView->documentRect(); |
if (scrollOrigin() == -documentRect.location() && contentsSize() == documentRect.size()) |
return; |