Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1603)

Unified Diff: Source/core/svg/SVGTests.h

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698