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

Unified Diff: Source/core/svg/SVGFESpecularLightingElement.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/SVGFEOffsetElement.cpp ('k') | Source/core/svg/SVGFESpecularLightingElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFESpecularLightingElement.h
diff --git a/Source/core/svg/SVGFESpecularLightingElement.h b/Source/core/svg/SVGFESpecularLightingElement.h
index 10f3e58ad03b4a7037f478f50d4cd7a190bc061d..4a3405581555fcb25e2a04e2c19ba98520049491 100644
--- a/Source/core/svg/SVGFESpecularLightingElement.h
+++ b/Source/core/svg/SVGFESpecularLightingElement.h
@@ -28,6 +28,7 @@
#include "core/svg/SVGFELightElement.h"
#include "core/svg/SVGFilterPrimitiveStandardAttributes.h"
#include "platform/graphics/filters/FESpecularLighting.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -43,6 +44,9 @@ public:
SVGAnimatedNumber* kernelUnitLengthX() { return m_kernelUnitLength->firstNumber(); }
SVGAnimatedNumber* kernelUnitLengthY() { return m_kernelUnitLength->secondNumber(); }
SVGAnimatedString* in1() { return m_in1.get(); }
+
+ virtual void trace(Visitor*) override;
+
private:
explicit SVGFESpecularLightingElement(Document&);
@@ -50,16 +54,16 @@ private:
virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&) override;
virtual void svgAttributeChanged(const QualifiedName&) override;
- virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) override;
+ virtual PassRefPtrWillBeRawPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) override;
static const AtomicString& kernelUnitLengthXIdentifier();
static const AtomicString& kernelUnitLengthYIdentifier();
- RefPtr<SVGAnimatedNumber> m_specularConstant;
- RefPtr<SVGAnimatedNumber> m_specularExponent;
- RefPtr<SVGAnimatedNumber> m_surfaceScale;
- RefPtr<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength;
- RefPtr<SVGAnimatedString> m_in1;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_specularConstant;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_specularExponent;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_surfaceScale;
+ RefPtrWillBeMember<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength;
+ RefPtrWillBeMember<SVGAnimatedString> m_in1;
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGFEOffsetElement.cpp ('k') | Source/core/svg/SVGFESpecularLightingElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698