Index: third_party/WebKit/Source/core/layout/ng/ng_block_node.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc |
index a1cdca354a440575ff5caf2803d16c8a24ed5f49..6fbb34b58a218580e6dca675d693c9875f0590ba 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc |
@@ -43,8 +43,6 @@ bool NGBlockNode::Layout(NGConstraintSpace* constraint_space, |
NGFragmentBase** out) { |
DCHECK(!minmax_algorithm_) |
<< "Can't interleave Layout and ComputeMinAndMaxContentSizes"; |
- 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. |