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

Unified Diff: Source/core/svg/SVGFEDisplacementMapElement.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/SVGFEDiffuseLightingElement.cpp ('k') | Source/core/svg/SVGFEDisplacementMapElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEDisplacementMapElement.h
diff --git a/Source/core/svg/SVGFEDisplacementMapElement.h b/Source/core/svg/SVGFEDisplacementMapElement.h
index b6cba7f717a75fa0d761aadf238e99b7e8c43e9e..e402608ea398682775acbaadcdde2526435c0c85 100644
--- a/Source/core/svg/SVGFEDisplacementMapElement.h
+++ b/Source/core/svg/SVGFEDisplacementMapElement.h
@@ -24,6 +24,7 @@
#include "core/svg/SVGAnimatedNumber.h"
#include "core/svg/SVGFilterPrimitiveStandardAttributes.h"
#include "platform/graphics/filters/FEDisplacementMap.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -42,20 +43,22 @@ public:
SVGAnimatedEnumeration<ChannelSelectorType>* xChannelSelector() { return m_xChannelSelector.get(); }
SVGAnimatedEnumeration<ChannelSelectorType>* yChannelSelector() { return m_yChannelSelector.get(); }
+ virtual void trace(Visitor*) override;
+
private:
- SVGFEDisplacementMapElement(Document&);
+ explicit SVGFEDisplacementMapElement(Document&);
bool isSupportedAttribute(const QualifiedName&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName& attrName) override;
virtual void svgAttributeChanged(const QualifiedName&) override;
- virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) override;
+ virtual PassRefPtrWillBeRawPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) override;
- RefPtr<SVGAnimatedNumber> m_scale;
- RefPtr<SVGAnimatedString> m_in1;
- RefPtr<SVGAnimatedString> m_in2;
- RefPtr<SVGAnimatedEnumeration<ChannelSelectorType> > m_xChannelSelector;
- RefPtr<SVGAnimatedEnumeration<ChannelSelectorType> > m_yChannelSelector;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_scale;
+ RefPtrWillBeMember<SVGAnimatedString> m_in1;
+ RefPtrWillBeMember<SVGAnimatedString> m_in2;
+ RefPtrWillBeMember<SVGAnimatedEnumeration<ChannelSelectorType> > m_xChannelSelector;
+ RefPtrWillBeMember<SVGAnimatedEnumeration<ChannelSelectorType> > m_yChannelSelector;
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGFEDiffuseLightingElement.cpp ('k') | Source/core/svg/SVGFEDisplacementMapElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698