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

Unified Diff: Source/core/svg/SVGURIReference.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/SVGTransformTearOff.cpp ('k') | Source/core/svg/SVGURIReference.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGURIReference.h
diff --git a/Source/core/svg/SVGURIReference.h b/Source/core/svg/SVGURIReference.h
index 07c726f25e29f1d960a8a666358ae1bae42ed3cc..842162d0cb88b76d248110f53547bf482fab3f5a 100644
--- a/Source/core/svg/SVGURIReference.h
+++ b/Source/core/svg/SVGURIReference.h
@@ -23,12 +23,13 @@
#include "core/dom/Document.h"
#include "core/svg/SVGAnimatedString.h"
+#include "platform/heap/Handle.h"
namespace blink {
class Element;
-class SVGURIReference {
+class SVGURIReference : public WillBeGarbageCollectedMixin {
public:
virtual ~SVGURIReference() { }
@@ -54,11 +55,13 @@ public:
// JS API
SVGAnimatedString* href() const { return m_href.get(); }
+ virtual void trace(Visitor*);
+
protected:
explicit SVGURIReference(SVGElement*);
private:
- RefPtr<SVGAnimatedString> m_href;
+ RefPtrWillBeMember<SVGAnimatedString> m_href;
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGTransformTearOff.cpp ('k') | Source/core/svg/SVGURIReference.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698