| 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 fd11878deac463cf348e87ba50ea569ccefda531..7fe1233131673e8e72f99476702dd22716029137 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
|
| @@ -38,7 +38,7 @@ class CORE_EXPORT NGFragmentBuilder final {
|
| NGFragmentBuilder& AddChild(RefPtr<NGPhysicalFragment>,
|
| const NGLogicalOffset&);
|
|
|
| - NGFragmentBuilder& AddFloatingObject(NGFloatingObject*,
|
| + NGFragmentBuilder& AddFloatingObject(RefPtr<NGFloatingObject>,
|
| const NGLogicalOffset&);
|
|
|
| NGFragmentBuilder& SetBfcOffset(const NGLogicalOffset& offset);
|
| @@ -103,12 +103,12 @@ class CORE_EXPORT NGFragmentBuilder final {
|
| unsigned end_offset);
|
|
|
| // Mutable list of floats that need to be positioned.
|
| - Vector<Persistent<NGFloatingObject>>& MutableUnpositionedFloats() {
|
| + Vector<RefPtr<NGFloatingObject>>& MutableUnpositionedFloats() {
|
| return unpositioned_floats_;
|
| }
|
|
|
| // List of floats that need to be positioned.
|
| - const Vector<Persistent<NGFloatingObject>>& UnpositionedFloats() const {
|
| + const Vector<RefPtr<NGFloatingObject>>& UnpositionedFloats() const {
|
| return unpositioned_floats_;
|
| }
|
|
|
| @@ -162,10 +162,10 @@ class CORE_EXPORT NGFragmentBuilder final {
|
|
|
| // Floats that need to be positioned by the next in-flow fragment that can
|
| // determine its block position in space.
|
| - Vector<Persistent<NGFloatingObject>> unpositioned_floats_;
|
| + Vector<RefPtr<NGFloatingObject>> unpositioned_floats_;
|
|
|
| Vector<NGLogicalOffset> floating_object_offsets_;
|
| - Vector<Persistent<NGFloatingObject>> positioned_floats_;
|
| + Vector<RefPtr<NGFloatingObject>> positioned_floats_;
|
|
|
| WTF::Optional<NGLogicalOffset> bfc_offset_;
|
| NGMarginStrut end_margin_strut_;
|
|
|