| Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| index 6a3f12869f1c02d64c4b8b1551c7327c96ecd864..fe08570a41a9399509caae1ded59d2bc6c27b834 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| @@ -311,11 +311,12 @@ void LayoutBlockFlow::layoutBlock(bool relayoutChildren)
|
| // at least once and so that it always gives a reliable result reflecting the latest layout.
|
| m_hasOnlySelfCollapsingChildren = false;
|
|
|
| - if (!relayoutChildren && simplifiedLayout())
|
| + SubtreeLayoutScope layoutScope(*this);
|
| +
|
| + if (!relayoutChildren && simplifiedLayout(&layoutScope))
|
| return;
|
|
|
| LayoutAnalyzer::BlockScope analyzer(*this);
|
| - SubtreeLayoutScope layoutScope(*this);
|
|
|
| // Multiple passes might be required for column based layout.
|
| // The number of passes could be as high as the number of columns.
|
|
|