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

Unified Diff: Source/core/animation/AnimatableSVGLength.h

Issue 204743002: Oilpan: Move AnimatableValue's hierarchy to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/animation/AnimatableSVGLength.h
diff --git a/Source/core/animation/AnimatableSVGLength.h b/Source/core/animation/AnimatableSVGLength.h
index dd4a627a2d2038ba3ff0ed8c5d10bfc2b55d2311..c81361ce8842b2f9b8a67c76a382a8f8167f3fd7 100644
--- a/Source/core/animation/AnimatableSVGLength.h
+++ b/Source/core/animation/AnimatableSVGLength.h
@@ -40,9 +40,9 @@ class AnimatableSVGLength FINAL : public AnimatableValue {
public:
virtual ~AnimatableSVGLength() { }
- static PassRefPtr<AnimatableSVGLength> create(PassRefPtr<SVGLength> length)
+ static PassRefPtrWillBeRawPtr<AnimatableSVGLength> create(PassRefPtr<SVGLength> length)
{
- return adoptRef(new AnimatableSVGLength(length));
+ return adoptRefWillBeNoop(new AnimatableSVGLength(length));
}
SVGLength* toSVGLength() const
@@ -50,9 +50,11 @@ public:
return m_length.get();
}
+ virtual void trace(Visitor*) OVERRIDE;
+
protected:
- virtual PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
- virtual PassRefPtr<AnimatableValue> addWith(const AnimatableValue*) const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> addWith(const AnimatableValue*) const OVERRIDE;
private:
AnimatableSVGLength(PassRefPtr<SVGLength> length)

Powered by Google App Engine
This is Rietveld 408576698