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

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

Issue 2702403003: [layoutng] Split NGLayoutResult out of NGPhysicalFragment (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/ng/ng_layout_result.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_result.cc b/third_party/WebKit/Source/core/layout/ng/ng_layout_result.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f4f1f8d81b8a30e1fe6c8e6b1e9c0cc0f28af5fd
--- /dev/null
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_result.cc
@@ -0,0 +1,21 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "core/layout/ng/ng_layout_result.h"
+
+#include "core/layout/ng/ng_floating_object.h"
+
+namespace blink {
+
+NGLayoutResult::NGLayoutResult(
+ PassRefPtr<NGPhysicalFragment> physical_fragment,
+ PersistentHeapLinkedHashSet<WeakMember<NGBlockNode>>&
+ out_of_flow_descendants,
+ Vector<NGStaticPosition> out_of_flow_positions,
+ Vector<Persistent<NGFloatingObject>>& unpositioned_floats)
+ : physical_fragment_(physical_fragment),
+ out_of_flow_descendants_(out_of_flow_descendants),
+ out_of_flow_positions_(out_of_flow_positions),
+ unpositioned_floats_(unpositioned_floats) {}
+} // namespace blink
ikilpatrick 2017/02/21 22:26:02 nl above this? needed? (not sure what new style is
cbiesinger 2017/02/22 18:09:01 Done.

Powered by Google App Engine
This is Rietveld 408576698