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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h

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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h
index b5904ba935f01e4e9a3c835710ec028c42bfe10d..7de145bc62b783b12d0b22af06df2c2322a99ab5 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_text_fragment.h
@@ -8,6 +8,7 @@
#include "core/CoreExport.h"
#include "core/layout/ng/ng_block_node.h"
#include "core/layout/ng/ng_inline_node.h"
+#include "core/layout/ng/ng_floating_object.h"
#include "core/layout/ng/ng_physical_fragment.h"
#include "platform/heap/Handle.h"
@@ -22,12 +23,16 @@ class CORE_EXPORT NGPhysicalTextFragment final : public NGPhysicalFragment {
NGPhysicalSize size,
NGPhysicalSize overflow,
HeapLinkedHashSet<WeakMember<NGBlockNode>>& out_of_flow_descendants,
- Vector<NGStaticPosition> out_of_flow_positions)
+ Vector<NGStaticPosition> out_of_flow_positions,
+ HeapVector<Member<NGFloatingObject>>& unpositioned_floats,
+ HeapVector<Member<NGFloatingObject>>& positioned_floats)
: NGPhysicalFragment(size,
overflow,
kFragmentText,
out_of_flow_descendants,
- out_of_flow_positions),
+ out_of_flow_positions,
+ unpositioned_floats,
+ positioned_floats),
node_(node),
start_index_(start_index),
end_index_(end_index) {}
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698