| 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_inline_layout_algorithm.h" | 5 #include "core/layout/ng/ng_inline_layout_algorithm.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_constraint_space.h" | 8 #include "core/layout/ng/ng_constraint_space.h" |
| 9 #include "core/layout/ng/ng_fragment_builder.h" | 9 #include "core/layout/ng/ng_fragment_builder.h" |
| 10 #include "core/layout/ng/ng_inline_node.h" | 10 #include "core/layout/ng/ng_inline_node.h" |
| 11 #include "core/layout/ng/ng_physical_fragment.h" |
| 11 #include "core/style/ComputedStyle.h" | 12 #include "core/style/ComputedStyle.h" |
| 12 | 13 |
| 13 namespace blink { | 14 namespace blink { |
| 14 | 15 |
| 15 NGInlineLayoutAlgorithm::NGInlineLayoutAlgorithm( | 16 NGInlineLayoutAlgorithm::NGInlineLayoutAlgorithm( |
| 16 PassRefPtr<const ComputedStyle> style, | 17 PassRefPtr<const ComputedStyle> style, |
| 17 NGInlineNode* first_child, | 18 NGInlineNode* first_child, |
| 18 NGConstraintSpace* constraint_space, | 19 NGConstraintSpace* constraint_space, |
| 19 NGBreakToken* break_token) | 20 NGBreakToken* break_token) |
| 20 : style_(style), | 21 : style_(style), |
| (...skipping 14 matching lines...) Expand all Loading... |
| 35 } | 36 } |
| 36 | 37 |
| 37 DEFINE_TRACE(NGInlineLayoutAlgorithm) { | 38 DEFINE_TRACE(NGInlineLayoutAlgorithm) { |
| 38 NGLayoutAlgorithm::trace(visitor); | 39 NGLayoutAlgorithm::trace(visitor); |
| 39 visitor->trace(first_child_); | 40 visitor->trace(first_child_); |
| 40 visitor->trace(constraint_space_); | 41 visitor->trace(constraint_space_); |
| 41 visitor->trace(break_token_); | 42 visitor->trace(break_token_); |
| 42 } | 43 } |
| 43 | 44 |
| 44 } // namespace blink | 45 } // namespace blink |
| OLD | NEW |