OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/layout/ng/ng_physical_fragment.h" | 5 #include "core/layout/ng/ng_physical_fragment.h" |
6 | 6 |
7 #include "core/layout/ng/ng_break_token.h" | 7 #include "core/layout/ng/ng_break_token.h" |
| 8 #include "core/layout/ng/ng_physical_box_fragment.h" |
8 #include "core/layout/ng/ng_physical_text_fragment.h" | 9 #include "core/layout/ng/ng_physical_text_fragment.h" |
9 #include "core/layout/ng/ng_physical_box_fragment.h" | |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 | 12 |
13 NGPhysicalFragment::NGPhysicalFragment( | 13 NGPhysicalFragment::NGPhysicalFragment( |
14 NGPhysicalSize size, | 14 NGPhysicalSize size, |
15 NGPhysicalSize overflow, | 15 NGPhysicalSize overflow, |
16 NGFragmentType type, | 16 NGFragmentType type, |
17 HeapLinkedHashSet<WeakMember<NGBlockNode>>& out_of_flow_descendants, | 17 HeapLinkedHashSet<WeakMember<NGBlockNode>>& out_of_flow_descendants, |
18 Vector<NGStaticPosition> out_of_flow_positions, | 18 Vector<NGStaticPosition> out_of_flow_positions, |
19 NGBreakToken* break_token) | 19 NGBreakToken* break_token) |
(...skipping 19 matching lines...) Expand all Loading... |
39 else | 39 else |
40 static_cast<NGPhysicalBoxFragment*>(this)->~NGPhysicalBoxFragment(); | 40 static_cast<NGPhysicalBoxFragment*>(this)->~NGPhysicalBoxFragment(); |
41 } | 41 } |
42 | 42 |
43 DEFINE_TRACE_AFTER_DISPATCH(NGPhysicalFragment) { | 43 DEFINE_TRACE_AFTER_DISPATCH(NGPhysicalFragment) { |
44 visitor->trace(out_of_flow_descendants_); | 44 visitor->trace(out_of_flow_descendants_); |
45 visitor->trace(break_token_); | 45 visitor->trace(break_token_); |
46 } | 46 } |
47 | 47 |
48 } // namespace blink | 48 } // namespace blink |
OLD | NEW |