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..34b7e1f83cad24ad5afed7103321253b33295fb3 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 |
@@ -11,15 +11,14 @@ |
#include "core/layout/ng/ng_exclusion.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 +55,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 |