| 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 a781e6885d20a16633580c9d720565382b9c82ef..b1790b39178d1a479a01fc6b44dc011d2ec83087 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
|
| @@ -266,13 +266,14 @@ void LayoutFlexibleBox::layoutBlock(bool relayoutChildren)
|
| {
|
| ASSERT(needsLayout());
|
|
|
| - if (!relayoutChildren && simplifiedLayout())
|
| + SubtreeLayoutScope layoutScope(*this);
|
| +
|
| + if (!relayoutChildren && simplifiedLayout(&layoutScope))
|
| return;
|
|
|
| if (updateLogicalWidthAndColumnWidth())
|
| relayoutChildren = true;
|
|
|
| - SubtreeLayoutScope layoutScope(*this);
|
| LayoutUnit previousHeight = logicalHeight();
|
| setLogicalHeight(borderAndPaddingLogicalHeight() + scrollbarLogicalHeight());
|
|
|
|
|