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

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

Issue 2752123002: [LayoutNG] Move NGFloatingObject off Oilpan (Closed)
Patch Set: Created 3 years, 9 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
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

Powered by Google App Engine
This is Rietveld 408576698