Index: Source/core/svg/SVGTests.h |
diff --git a/Source/core/svg/SVGTests.h b/Source/core/svg/SVGTests.h |
index aeb20a1b2da3739100d1f6c14eac5e3a9cc71e72..7eca7203d04fd4819339bd5fd6ee51c6a82cb847 100644 |
--- a/Source/core/svg/SVGTests.h |
+++ b/Source/core/svg/SVGTests.h |
@@ -22,6 +22,7 @@ |
#define SVGTests_h |
#include "core/svg/SVGStaticStringList.h" |
+#include "platform/heap/Handle.h" |
#include "wtf/HashSet.h" |
namespace blink { |
@@ -29,7 +30,7 @@ namespace blink { |
class QualifiedName; |
class SVGElement; |
-class SVGTests { |
+class SVGTests : public WillBeGarbageCollectedMixin { |
public: |
// JS API |
SVGStringListTearOff* requiredFeatures() { return m_requiredFeatures->tearOff(); } |
@@ -44,13 +45,15 @@ public: |
void addSupportedAttributes(HashSet<QualifiedName>&); |
+ virtual void trace(Visitor*); |
+ |
protected: |
- SVGTests(SVGElement* contextElement); |
+ explicit SVGTests(SVGElement* contextElement); |
private: |
- RefPtr<SVGStaticStringList> m_requiredFeatures; |
- RefPtr<SVGStaticStringList> m_requiredExtensions; |
- RefPtr<SVGStaticStringList> m_systemLanguage; |
+ RefPtrWillBeMember<SVGStaticStringList> m_requiredFeatures; |
+ RefPtrWillBeMember<SVGStaticStringList> m_requiredExtensions; |
+ RefPtrWillBeMember<SVGStaticStringList> m_systemLanguage; |
}; |
} // namespace blink |