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

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
« no previous file with comments | « Source/core/animation/AnimatableRepeatable.cpp ('k') | Source/core/animation/AnimatableSVGLength.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimatableSVGLength.h
diff --git a/Source/core/animation/AnimatableSVGLength.h b/Source/core/animation/AnimatableSVGLength.h
index dd4a627a2d2038ba3ff0ed8c5d10bfc2b55d2311..1601e5958746c88e40e56b93122d2d8e651744cb 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)
« no previous file with comments | « Source/core/animation/AnimatableRepeatable.cpp ('k') | Source/core/animation/AnimatableSVGLength.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698