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

Unified Diff: Source/core/svg/SVGFEImageElement.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/SVGFEGaussianBlurElement.cpp ('k') | Source/core/svg/SVGFEImageElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « Source/core/svg/SVGFEGaussianBlurElement.cpp ('k') | Source/core/svg/SVGFEImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698