Index: Source/core/dom/custom/CustomElementRegistrationContext.h |
diff --git a/Source/core/dom/custom/CustomElementRegistrationContext.h b/Source/core/dom/custom/CustomElementRegistrationContext.h |
index 8a420ca32facb9c85c9b09d1208841280925d188..1602c7cdc9ecf123720fcbba959cafe564805882 100644 |
--- a/Source/core/dom/custom/CustomElementRegistrationContext.h |
+++ b/Source/core/dom/custom/CustomElementRegistrationContext.h |
@@ -49,9 +49,9 @@ class Document; |
class Element; |
class ExceptionState; |
-class CustomElementRegistrationContext : public RefCounted<CustomElementRegistrationContext> { |
+class CustomElementRegistrationContext FINAL : public RefCountedWillBeGarbageCollectedFinalized<CustomElementRegistrationContext> { |
public: |
- static PassRefPtr<CustomElementRegistrationContext> create(); |
+ static PassRefPtrWillBeRawPtr<CustomElementRegistrationContext> create(); |
~CustomElementRegistrationContext() { } |
@@ -64,6 +64,8 @@ public: |
void resolve(Element*, const CustomElementDescriptor&); |
+ void trace(Visitor*); |
+ |
protected: |
CustomElementRegistrationContext() { } |
@@ -76,7 +78,7 @@ private: |
CustomElementRegistry m_registry; |
// Element creation |
- CustomElementUpgradeCandidateMap m_candidates; |
+ OwnPtrWillBeMember<CustomElementUpgradeCandidateMap> m_candidates; |
}; |
} |