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

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

Issue 2446403004: NGPhysicalFragment implementation to cc file (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "core/layout/ng/ng_physical_fragment.h"
6 #include "core/layout/ng/ng_block_layout_algorithm.h"
7 #include "core/layout/ng/ng_box.h"
8 #include "core/style/ComputedStyle.h"
9
10 namespace blink {
11
12 NGPhysicalFragment::NGPhysicalFragment(
13 NGPhysicalSize size,
14 NGPhysicalSize overflow,
15 HeapVector<Member<const NGPhysicalFragmentBase>>& children,
16 NGMarginStrut margin_strut)
17 : NGPhysicalFragmentBase(size, overflow, FragmentBox),
18 margin_strut_(margin_strut) {
19 children_.swap(children);
20 }
21
22 DEFINE_TRACE_AFTER_DISPATCH(NGPhysicalFragment) {
23 visitor->trace(children_);
24 NGPhysicalFragmentBase::traceAfterDispatch(visitor);
25 }
26
27 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698