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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp

Issue 1734203002: Fully (?) fix overflow: auto with delayed scroll updates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added comment Created 4 years, 10 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: third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
index 643d334287ee836f25318f7a7ae6f9cd35dd206b..d39e0314420a1617e4b77eb87ec06d7062d7d32e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
@@ -288,7 +288,8 @@ void LayoutFlexibleBox::layoutBlock(bool relayoutChildren)
layoutFlexItems(relayoutChildren, layoutScope);
- LayoutBlock::finishDelayUpdateScrollInfo();
+ if (LayoutBlock::finishDelayUpdateScrollInfo(&layoutScope))
+ layoutFlexItems(false, layoutScope);
if (logicalHeight() != previousHeight)
relayoutChildren = true;

Powered by Google App Engine
This is Rietveld 408576698