Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 324caf8eb8f7de97b3dda5d1b10fbd2ae0668579..e4b98f04c2d1d50c3d39b60adce4f82dc034a36d 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -2025,6 +2025,9 @@ void Document::updateStyleAndLayout() { |
if (lifecycle().state() < DocumentLifecycle::LayoutClean) |
lifecycle().advanceTo(DocumentLifecycle::LayoutClean); |
+ |
+ if (FrameView* frameView = view()) |
+ frameView->performScrollAnchoringAdjustments(); |
} |
void Document::layoutUpdated() { |