Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(821)

Unified Diff: Source/core/frame/FrameView.cpp

Issue 1256043007: Recompute slow scroll regions after overflow recalc (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor test updates Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index f6edc0fba69855013707d8c79d946afa76c46a7d..7cbf007227e5e0dc854315e0014c9b9302c9ffdf 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -643,6 +643,9 @@ void FrameView::recalcOverflowAfterStyleChange()
layoutView->recalcOverflowAfterStyleChange();
+ if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
Rick Byers 2015/08/05 15:04:05 Please add a comment saying why this is the right
majidvp 2015/08/05 15:39:35 Acknowledged.
+ scrollingCoordinator->notifyOverflowUpdated();
+
IntRect documentRect = layoutView->documentRect();
if (scrollOrigin() == -documentRect.location() && contentsSize() == documentRect.size())
return;

Powered by Google App Engine
This is Rietveld 408576698