| 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 3b628478e2967cf451e9567814fb6b3dd5be630d..36a64869c29067d16f9a511cb2116c0559ada873 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_box.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_box.cc
|
| @@ -26,6 +26,8 @@ NGBox::NGBox(ComputedStyle* style) : layout_box_(nullptr), style_(style) {
|
|
|
| bool NGBox::Layout(const NGConstraintSpace* constraint_space,
|
| NGFragment** out) {
|
| + if (layout_box_ && layout_box_->isOutOfFlowPositioned())
|
| + layout_box_->containingBlock()->insertPositionedObject(layout_box_);
|
| // We can either use the new layout code to do the layout and then copy the
|
| // resulting size to the LayoutObject, or use the old layout code and
|
| // synthesize a fragment.
|
|
|