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

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

Issue 2219433002: [css-flexbox] Have to use forceChildLayout to force layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « third_party/WebKit/LayoutTests/css3/flexbox/bug633212.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 feffbf8b2ab90cff37852e419f63960549f9eac6..bac80ee372cdf24ffe6c69109b12e9831cdcfe98 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
@@ -1248,7 +1248,7 @@ bool LayoutFlexibleBox::computeNextFlexLine(OrderedFlexItemList& orderedChildren
// run layout on it now to make sure its logical height and scroll bars are up to date.
if (childHasIntrinsicMainAxisSize(*child) && child->needsLayout()) {
child->clearOverrideSize();
- child->layoutIfNeeded();
+ child->forceChildLayout();
cacheChildMainSize(*child);
layoutType = LayoutIfNeeded;
}
« no previous file with comments | « third_party/WebKit/LayoutTests/css3/flexbox/bug633212.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698