| Index: third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp b/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
|
| index ed3942e2c946921f27add396f22f623c55659e18..802e3a1623e1cf738f7aeb079aa7f1d8f4af9119 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
|
| @@ -221,7 +221,9 @@ void LayoutDeprecatedFlexibleBox::layoutBlock(bool relayoutChildren)
|
| {
|
| ASSERT(needsLayout());
|
|
|
| - if (!relayoutChildren && simplifiedLayout())
|
| + SubtreeLayoutScope layouter(*this);
|
| +
|
| + if (!relayoutChildren && simplifiedLayout(&layouter))
|
| return;
|
|
|
| {
|
| @@ -233,7 +235,7 @@ void LayoutDeprecatedFlexibleBox::layoutBlock(bool relayoutChildren)
|
| updateLogicalWidth();
|
| updateLogicalHeight();
|
|
|
| - TextAutosizer::LayoutScope textAutosizerLayoutScope(this);
|
| + TextAutosizer::LayoutScope textAutosizerLayoutScope(this, &layouter);
|
|
|
| if (previousSize != size()
|
| || (parent()->isDeprecatedFlexibleBox() && parent()->style()->boxOrient() == HORIZONTAL
|
|
|