Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_physical_line_box_fragment.cc

Issue 2764753007: [LayoutNG] Add NGLineBoxFragment (Closed)
Patch Set: Rebase again as other CLs landed faster Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698