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

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 upto r185213 Created 6 years, 1 month 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
« no previous file with comments | « Source/core/svg/SVGSymbolElement.cpp ('k') | Source/core/svg/SVGTests.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/svg/SVGSymbolElement.cpp ('k') | Source/core/svg/SVGTests.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698