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

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

Issue 2642823008: Introduce NGFloatingObject (Closed)
Patch Set: Update TestExpectations Created 3 years, 11 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_physical_box_fragment.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc
index 5fd19a96f3ec1b411e1d6f4824071e70c0d6693d..8867167ce97a5d942a306269fa97d544c18f582c 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc
@@ -13,12 +13,16 @@ NGPhysicalBoxFragment::NGPhysicalBoxFragment(
HeapLinkedHashSet<WeakMember<NGBlockNode>>& out_of_flow_descendants,
Vector<NGStaticPosition>& out_of_flow_positions,
NGMarginStrut margin_strut,
+ HeapVector<Member<NGFloatingObject>>& unpositioned_floats,
+ HeapVector<Member<NGFloatingObject>>& positioned_floats,
NGBreakToken* break_token)
: NGPhysicalFragment(size,
overflow,
kFragmentBox,
out_of_flow_descendants,
out_of_flow_positions,
+ unpositioned_floats,
+ positioned_floats,
break_token),
margin_strut_(margin_strut) {
children_.swap(children);

Powered by Google App Engine
This is Rietveld 408576698