Index: third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h |
index ddf0703a6bf0f3c5616fcbb4245441b7acda850e..c4e5bf1a6b98eecbcd73a86b94336fa997fd0e55 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h |
@@ -7,12 +7,14 @@ |
#include "core/layout/ng/ng_constraint_space.h" |
#include "core/layout/ng/ng_units.h" |
+#include "wtf/Allocator.h" |
#include "wtf/Optional.h" |
namespace blink { |
-class CORE_EXPORT NGConstraintSpaceBuilder final |
- : public GarbageCollectedFinalized<NGConstraintSpaceBuilder> { |
+class CORE_EXPORT NGConstraintSpaceBuilder final { |
+ DISALLOW_NEW(); |
+ |
public: |
NGConstraintSpaceBuilder(const NGConstraintSpace* parent_space); |
@@ -63,8 +65,6 @@ class CORE_EXPORT NGConstraintSpaceBuilder final |
// NGWritingMode specifies the writing mode of the generated space. |
NGConstraintSpace* ToConstraintSpace(NGWritingMode); |
- DEFINE_INLINE_TRACE() {} |
- |
private: |
// Relative to parent_writing_mode_. |
NGLogicalSize available_size_; |