Index: Source/core/svg/SVGFEImageElement.h |
diff --git a/Source/core/svg/SVGFEImageElement.h b/Source/core/svg/SVGFEImageElement.h |
index 38228d2c9b155035b3085ff89470f9875a999b28..e91c1d59e08c72c0a8a14ed47a67a164a615dcfd 100644 |
--- a/Source/core/svg/SVGFEImageElement.h |
+++ b/Source/core/svg/SVGFEImageElement.h |
@@ -28,6 +28,7 @@ |
#include "core/svg/SVGAnimatedPreserveAspectRatio.h" |
#include "core/svg/SVGFilterPrimitiveStandardAttributes.h" |
#include "core/svg/SVGURIReference.h" |
+#include "platform/heap/Handle.h" |
namespace blink { |
@@ -35,6 +36,7 @@ class SVGFEImageElement final : public SVGFilterPrimitiveStandardAttributes, |
public SVGURIReference, |
public ImageResourceClient { |
DEFINE_WRAPPERTYPEINFO(); |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGFEImageElement); |
public: |
DECLARE_NODE_FACTORY(SVGFEImageElement); |
@@ -43,6 +45,8 @@ public: |
virtual ~SVGFEImageElement(); |
SVGAnimatedPreserveAspectRatio* preserveAspectRatio() { return m_preserveAspectRatio.get(); } |
+ virtual void trace(Visitor*) override; |
+ |
private: |
explicit SVGFEImageElement(Document&); |
@@ -51,7 +55,7 @@ private: |
virtual void svgAttributeChanged(const QualifiedName&) override; |
virtual void notifyFinished(Resource*) override; |
- virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) override; |
+ virtual PassRefPtrWillBeRawPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) override; |
void clearResourceReferences(); |
void fetchImageResource(); |
@@ -60,7 +64,7 @@ private: |
virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
virtual void removedFrom(ContainerNode*) override; |
- RefPtr<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio; |
+ RefPtrWillBeMember<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio; |
ResourcePtr<ImageResource> m_cachedImage; |
}; |