Index: third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h |
index 0924450906e1ad70f95eef3af7ecfab9a4c762cd..cb2dea736cdf9ca909f55223151d3c59c41969cd 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h |
@@ -10,6 +10,7 @@ |
#include "core/layout/ng/ng_constraint_space.h" |
#include "core/layout/ng/ng_floating_object.h" |
#include "core/layout/ng/ng_physical_fragment.h" |
+#include "core/layout/ng/ng_positioned_float.h" |
#include "platform/wtf/Allocator.h" |
namespace blink { |
@@ -112,7 +113,7 @@ class CORE_EXPORT NGFragmentBuilder final { |
} |
// Mutable list of positioned floats, i.e. floats with logical_offset set. |
- Vector<RefPtr<NGFloatingObject>>& MutablePositionedFloats() { |
+ Vector<NGPositionedFloat>& MutablePositionedFloats() { |
return positioned_floats_; |
} |
@@ -173,7 +174,7 @@ class CORE_EXPORT NGFragmentBuilder final { |
// determine its block position in space. |
Vector<RefPtr<NGFloatingObject>> unpositioned_floats_; |
- Vector<RefPtr<NGFloatingObject>> positioned_floats_; |
+ Vector<NGPositionedFloat> positioned_floats_; |
WTF::Optional<NGLogicalOffset> bfc_offset_; |
NGMarginStrut end_margin_strut_; |