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

Unified Diff: Source/core/svg/SVGFELightElement.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/SVGFEImageElement.cpp ('k') | Source/core/svg/SVGFELightElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFELightElement.h
diff --git a/Source/core/svg/SVGFELightElement.h b/Source/core/svg/SVGFELightElement.h
index 5856f257930082541e411edfc56678afd6c3b0e7..5a40200265f7a870252983715404500092d06d4f 100644
--- a/Source/core/svg/SVGFELightElement.h
+++ b/Source/core/svg/SVGFELightElement.h
@@ -26,6 +26,7 @@
#include "core/svg/SVGAnimatedNumber.h"
#include "core/svg/SVGElement.h"
#include "platform/graphics/filters/LightSource.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -60,6 +61,8 @@ public:
SVGAnimatedNumber* limitingConeAngle() { return m_limitingConeAngle.get(); }
const SVGAnimatedNumber* limitingConeAngle() const { return m_limitingConeAngle.get(); }
+ virtual void trace(Visitor*) override;
+
protected:
SVGFELightElement(const QualifiedName&, Document&);
@@ -71,16 +74,16 @@ private:
virtual bool rendererIsNeeded(const RenderStyle&) override { return false; }
- RefPtr<SVGAnimatedNumber> m_azimuth;
- RefPtr<SVGAnimatedNumber> m_elevation;
- RefPtr<SVGAnimatedNumber> m_x;
- RefPtr<SVGAnimatedNumber> m_y;
- RefPtr<SVGAnimatedNumber> m_z;
- RefPtr<SVGAnimatedNumber> m_pointsAtX;
- RefPtr<SVGAnimatedNumber> m_pointsAtY;
- RefPtr<SVGAnimatedNumber> m_pointsAtZ;
- RefPtr<SVGAnimatedNumber> m_specularExponent;
- RefPtr<SVGAnimatedNumber> m_limitingConeAngle;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_azimuth;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_elevation;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_x;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_y;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_z;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_pointsAtX;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_pointsAtY;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_pointsAtZ;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_specularExponent;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_limitingConeAngle;
};
inline bool isSVGFELightElement(const SVGElement& element)
« no previous file with comments | « Source/core/svg/SVGFEImageElement.cpp ('k') | Source/core/svg/SVGFELightElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698