Index: third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h |
index ae3ef86eef4dc3525443e1aca1e619d5ecfe7528..b449be850530d09dd44d1f9576ab6ce806185279 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h |
@@ -23,7 +23,7 @@ namespace blink { |
// NGFragmentBase classes which transforms information into the logical |
// coordinate system. |
class CORE_EXPORT NGPhysicalFragmentBase |
- : public GarbageCollected<NGPhysicalFragmentBase> { |
+ : public GarbageCollectedFinalized<NGPhysicalFragmentBase> { |
public: |
enum NGFragmentType { FragmentBox = 0, FragmentText = 1 }; |
@@ -63,6 +63,8 @@ class CORE_EXPORT NGPhysicalFragmentBase |
DEFINE_INLINE_TRACE_AFTER_DISPATCH() { visitor->trace(break_token_); } |
DECLARE_TRACE(); |
+ void finalizeGarbageCollectedObject(); |
+ |
protected: |
NGPhysicalFragmentBase(NGPhysicalSize size, |
NGPhysicalSize overflow, |