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

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

Issue 2702403003: [layoutng] Split NGLayoutResult out of NGPhysicalFragment (Closed)
Patch Set: rebased Created 3 years, 10 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 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_layout_result.h"
6
7 #include "core/layout/ng/ng_floating_object.h"
8
9 namespace blink {
10
11 NGLayoutResult::NGLayoutResult(
12 PassRefPtr<NGPhysicalFragment> physical_fragment,
13 PersistentHeapLinkedHashSet<WeakMember<NGBlockNode>>&
14 out_of_flow_descendants,
15 Vector<NGStaticPosition> out_of_flow_positions,
16 Vector<Persistent<NGFloatingObject>>& unpositioned_floats)
17 : physical_fragment_(physical_fragment),
18 out_of_flow_descendants_(out_of_flow_descendants),
19 out_of_flow_positions_(out_of_flow_positions),
20 unpositioned_floats_(unpositioned_floats) {}
21
22 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698