| Index: third_party/WebKit/Source/core/layout/ng/ng_floating_object.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_floating_object.h b/third_party/WebKit/Source/core/layout/ng/ng_floating_object.h
|
| index f841775bd529376868fa4073c35852c68e324b6d..844cdee3f436bfcf22e57094a6c4cde57191be9d 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_floating_object.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_floating_object.h
|
| @@ -9,17 +9,15 @@
|
| #include "core/layout/ng/ng_block_node.h"
|
| #include "core/layout/ng/ng_constraint_space.h"
|
| #include "core/layout/ng/ng_exclusion.h"
|
| +#include "core/layout/ng/ng_physical_fragment.h"
|
| #include "core/style/ComputedStyle.h"
|
| #include "core/style/ComputedStyleConstants.h"
|
| -#include "platform/heap/Handle.h"
|
| +#include "wtf/RefPtr.h"
|
|
|
| namespace blink {
|
|
|
| -class NGPhysicalFragment;
|
| -
|
| // Struct that keeps all information needed to position floats in LayoutNG.
|
| -struct CORE_EXPORT NGFloatingObject
|
| - : public GarbageCollectedFinalized<NGFloatingObject> {
|
| +struct CORE_EXPORT NGFloatingObject : public RefCounted<NGFloatingObject> {
|
| NGFloatingObject(const NGConstraintSpace* space,
|
| const NGConstraintSpace* parent_space,
|
| const ComputedStyle& style,
|
| @@ -56,9 +54,6 @@ struct CORE_EXPORT NGFloatingObject
|
| // {@code left_offset} is calculated when we know to which parent this float
|
| // would be attached.
|
| LayoutUnit left_offset;
|
| -
|
| - DEFINE_INLINE_TRACE() {
|
| - }
|
| };
|
|
|
| } // namespace blink
|
|
|