| Index: Source/core/svg/SVGTests.h
|
| diff --git a/Source/core/svg/SVGTests.h b/Source/core/svg/SVGTests.h
|
| index 8ed2fc1222d26a2e149b620eb6d986f25172e314..89cb53aff9b8fc6f7a19c3fb1249bfd76b653d58 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 {
|
| @@ -30,7 +31,7 @@ class Document;
|
| class QualifiedName;
|
| class SVGElement;
|
|
|
| -class SVGTests {
|
| +class SVGTests : public WillBeGarbageCollectedMixin {
|
| public:
|
| // JS API
|
| SVGStringListTearOff* requiredFeatures() { return m_requiredFeatures->tearOff(); }
|
| @@ -45,13 +46,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
|
|
|