| 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 ee77cc83013c08673dc57995d007c2a07ef09643..26cf1f783faefc62030c7d240ac8e3750a1d5694 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_box.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_box.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "core/layout/ng/ng_box.h"
|
|
|
| +#include "core/layout/LayoutBlockFlow.h"
|
| #include "core/layout/ng/layout_ng_block_flow.h"
|
| #include "core/layout/ng/ng_block_layout_algorithm.h"
|
| #include "core/layout/ng/ng_constraint_space.h"
|
| @@ -53,6 +54,9 @@ bool NGBox::Layout(const NGConstraintSpace* constraint_space,
|
| if (layout_box_->isLayoutBlock())
|
| toLayoutBlock(layout_box_)->layoutPositionedObjects(true);
|
| layout_box_->clearNeedsLayout();
|
| + if (layout_box_->isLayoutBlockFlow()) {
|
| + toLayoutBlockFlow(layout_box_)->updateIsSelfCollapsing();
|
| + }
|
| }
|
| } else {
|
| DCHECK(layout_box_);
|
|
|