OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "core/layout/ng/ng_physical_line_box_fragment.h" |
| 6 |
| 7 #include "core/layout/ng/ng_floating_object.h" |
| 8 |
| 9 namespace blink { |
| 10 |
| 11 NGPhysicalLineBoxFragment::NGPhysicalLineBoxFragment( |
| 12 NGPhysicalSize size, |
| 13 Vector<RefPtr<NGPhysicalFragment>>& children, |
| 14 const NGLineHeightMetrics& metrics, |
| 15 RefPtr<NGBreakToken> break_token) |
| 16 : NGPhysicalFragment(nullptr, |
| 17 size, |
| 18 kFragmentLineBox, |
| 19 std::move(break_token)), |
| 20 metrics_(metrics) { |
| 21 children_.swap(children); |
| 22 } |
| 23 |
| 24 } // namespace blink |
OLD | NEW |