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

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 Created 6 years, 2 months 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
Index: Source/core/svg/SVGAnimatedAngle.h
diff --git a/Source/core/svg/SVGAnimatedAngle.h b/Source/core/svg/SVGAnimatedAngle.h
index 68100e0d9fdb4525933489a1ae8392ddf631520f..8b18f6e6babbf961856fbd8a740987d096e92890 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);
haraken 2014/11/11 05:22:46 Add explicit.
sof 2014/11/12 13:45:07 Done.
private:
- RefPtr<SVGAnimatedEnumeration<SVGMarkerOrientType> > m_orientType;
+ RefPtrWillBeMember<SVGAnimatedEnumeration<SVGMarkerOrientType> > m_orientType;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698