Index: third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
index 6af27e6df67bd692821a8f415c61a7c50372b46e..dd9da9c77a1e94ecc98119c709c022212b68b93c 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc |
@@ -16,16 +16,17 @@ NGPhysicalFragment::NGPhysicalFragment( |
HeapLinkedHashSet<WeakMember<NGBlockNode>>& out_of_flow_descendants, |
Vector<NGStaticPosition>& out_of_flow_positions, |
NGMarginStrut margin_strut) |
- : NGPhysicalFragmentBase(size, overflow, kFragmentBox), |
+ : NGPhysicalFragmentBase(size, |
+ overflow, |
+ kFragmentBox, |
+ out_of_flow_descendants, |
+ out_of_flow_positions), |
margin_strut_(margin_strut) { |
children_.swap(children); |
- out_of_flow_descendants_.swap(out_of_flow_descendants); |
- out_of_flow_positions_.swap(out_of_flow_positions); |
} |
DEFINE_TRACE_AFTER_DISPATCH(NGPhysicalFragment) { |
visitor->trace(children_); |
- visitor->trace(out_of_flow_descendants_); |
NGPhysicalFragmentBase::traceAfterDispatch(visitor); |
} |