| 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_layout_coordinator.h" | 5 #include "core/layout/ng/ng_layout_coordinator.h" |
| 6 | 6 |
| 7 #include "core/layout/ng/ng_layout_input_node.h" | 7 #include "core/layout/ng/ng_layout_input_node.h" |
| 8 #include "core/layout/ng/ng_physical_fragment_base.h" | |
| 9 | 8 |
| 10 namespace blink { | 9 namespace blink { |
| 11 | 10 |
| 12 NGLayoutCoordinator::NGLayoutCoordinator( | 11 NGLayoutCoordinator::NGLayoutCoordinator( |
| 13 NGLayoutInputNode* input_node, | 12 NGLayoutInputNode* input_node, |
| 14 const NGConstraintSpace* constraint_space) { | 13 const NGConstraintSpace* constraint_space) { |
| 15 layout_algorithms_.append( | 14 layout_algorithms_.append( |
| 16 NGLayoutInputNode::AlgorithmForInputNode(input_node, constraint_space)); | 15 NGLayoutInputNode::AlgorithmForInputNode(input_node, constraint_space)); |
| 17 } | 16 } |
| 18 | 17 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 36 } | 35 } |
| 37 | 36 |
| 38 NOTREACHED(); | 37 NOTREACHED(); |
| 39 return false; | 38 return false; |
| 40 } | 39 } |
| 41 | 40 |
| 42 DEFINE_TRACE(NGLayoutCoordinator) { | 41 DEFINE_TRACE(NGLayoutCoordinator) { |
| 43 visitor->trace(layout_algorithms_); | 42 visitor->trace(layout_algorithms_); |
| 44 } | 43 } |
| 45 } | 44 } |
| OLD | NEW |