| 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_text_layout_algorithm.h" | 5 #include "core/layout/ng/ng_text_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_inline_node.h" |
| 9 | 10 |
| 10 namespace blink { | 11 namespace blink { |
| 11 | 12 |
| 12 NGTextLayoutAlgorithm::NGTextLayoutAlgorithm( | 13 NGTextLayoutAlgorithm::NGTextLayoutAlgorithm( |
| 13 NGInlineNode* inline_box, | 14 NGInlineNode* inline_box, |
| 14 NGConstraintSpace* constraint_space, | 15 NGConstraintSpace* constraint_space, |
| 15 NGBreakToken* break_token) | 16 NGBreakToken* break_token) |
| 16 : inline_box_(inline_box), | 17 : inline_box_(inline_box), |
| 17 constraint_space_(constraint_space), | 18 constraint_space_(constraint_space), |
| 18 break_token_(break_token) { | 19 break_token_(break_token) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 29 } | 30 } |
| 30 | 31 |
| 31 DEFINE_TRACE(NGTextLayoutAlgorithm) { | 32 DEFINE_TRACE(NGTextLayoutAlgorithm) { |
| 32 NGLayoutAlgorithm::trace(visitor); | 33 NGLayoutAlgorithm::trace(visitor); |
| 33 visitor->trace(inline_box_); | 34 visitor->trace(inline_box_); |
| 34 visitor->trace(constraint_space_); | 35 visitor->trace(constraint_space_); |
| 35 visitor->trace(break_token_); | 36 visitor->trace(break_token_); |
| 36 } | 37 } |
| 37 | 38 |
| 38 } // namespace blink | 39 } // namespace blink |
| OLD | NEW |