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 |