Index: third_party/WebKit/Source/core/layout/ng/ng_box.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_box.cc b/third_party/WebKit/Source/core/layout/ng/ng_box.cc |
index f6709a8fa357a7b409a17d55ad6f0917042ad86d..3c9667beefb82b6b1d7eaa7eda8b6b979216f057 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_box.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_box.cc |
@@ -82,7 +82,7 @@ bool NGBox::Layout(const NGConstraintSpace* constraint_space, |
if (layout_box_->isLayoutNGBlockFlow() && layout_box_->needsLayout()) { |
toLayoutNGBlockFlow(layout_box_)->LayoutBlockFlow::layoutBlock(true); |
} else { |
- layout_box_->layoutIfNeeded(); |
+ layout_box_->forceLayout(); |
} |
LayoutRect overflow = layout_box_->layoutOverflowRect(); |
// TODO(layout-ng): This does not handle writing modes correctly (for |