| Index: third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h
|
| index 1c04df1ff0649381d03749ccf171d47703229492..f602483d50aff8f494a9d5aa782b1de2ed8082b2 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h
|
| @@ -12,25 +12,39 @@
|
|
|
| namespace blink {
|
|
|
| +class NGBox;
|
| +
|
| class CORE_EXPORT NGPhysicalFragment final : public NGPhysicalFragmentBase {
|
| public:
|
| // This modifies the passed-in children vector.
|
| - NGPhysicalFragment(NGPhysicalSize size,
|
| - NGPhysicalSize overflow,
|
| - HeapVector<Member<const NGPhysicalFragmentBase>>& children,
|
| - NGMarginStrut margin_strut);
|
| + NGPhysicalFragment(
|
| + NGPhysicalSize size,
|
| + NGPhysicalSize overflow,
|
| + HeapVector<Member<const NGPhysicalFragmentBase>>& children,
|
| + HeapLinkedHashSet<WeakMember<NGBox>>& out_of_flow_descendants,
|
| + Vector<NGLogicalOffset> out_of_flow_offsets,
|
| + NGMarginStrut margin_strut);
|
|
|
| const HeapVector<Member<const NGPhysicalFragmentBase>>& Children() const {
|
| return children_;
|
| }
|
|
|
| + const HeapLinkedHashSet<WeakMember<NGBox>>& OutOfFlowDescendants() const {
|
| + return out_of_flow_descendants_;
|
| + }
|
| +
|
| + const Vector<NGLogicalOffset>& OutOfFlowOffsets() const {
|
| + return out_of_flow_offsets_;
|
| + }
|
| +
|
| NGMarginStrut MarginStrut() const { return margin_strut_; }
|
|
|
| DECLARE_TRACE_AFTER_DISPATCH();
|
|
|
| private:
|
| HeapVector<Member<const NGPhysicalFragmentBase>> children_;
|
| -
|
| + HeapLinkedHashSet<WeakMember<NGBox>> out_of_flow_descendants_;
|
| + Vector<NGLogicalOffset> out_of_flow_offsets_;
|
| NGMarginStrut margin_strut_;
|
| };
|
|
|
|
|