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

Unified Diff: Source/core/svg/SVGAnimatedAngle.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/SVGAnimateElement.cpp ('k') | Source/core/svg/SVGAnimatedAngle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedAngle.h
diff --git a/Source/core/svg/SVGAnimatedAngle.h b/Source/core/svg/SVGAnimatedAngle.h
index 68100e0d9fdb4525933489a1ae8392ddf631520f..e3c555f0d825b0a69d618cc8f6c8e21dc6ccbcab 100644
--- a/Source/core/svg/SVGAnimatedAngle.h
+++ b/Source/core/svg/SVGAnimatedAngle.h
@@ -33,6 +33,7 @@
#include "core/svg/SVGAngleTearOff.h"
#include "core/svg/SVGAnimatedEnumeration.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -40,9 +41,9 @@ class SVGMarkerElement;
class SVGAnimatedAngle final : public SVGAnimatedProperty<SVGAngle> {
public:
- static PassRefPtr<SVGAnimatedAngle> create(SVGMarkerElement* contextElement)
+ static PassRefPtrWillBeRawPtr<SVGAnimatedAngle> create(SVGMarkerElement* contextElement)
{
- return adoptRef(new SVGAnimatedAngle(contextElement));
+ return adoptRefWillBeNoop(new SVGAnimatedAngle(contextElement));
}
virtual ~SVGAnimatedAngle();
@@ -53,14 +54,16 @@ public:
virtual void synchronizeAttribute() override;
- virtual void setAnimatedValue(PassRefPtr<SVGPropertyBase>) override;
+ virtual void setAnimatedValue(PassRefPtrWillBeRawPtr<SVGPropertyBase>) override;
virtual void animationEnded() override;
+ virtual void trace(Visitor*) override;
+
protected:
- SVGAnimatedAngle(SVGMarkerElement* contextElement);
+ explicit SVGAnimatedAngle(SVGMarkerElement* contextElement);
private:
- RefPtr<SVGAnimatedEnumeration<SVGMarkerOrientType> > m_orientType;
+ RefPtrWillBeMember<SVGAnimatedEnumeration<SVGMarkerOrientType> > m_orientType;
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGAnimateElement.cpp ('k') | Source/core/svg/SVGAnimatedAngle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698