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

Unified Diff: Source/core/animation/AnimatableShapeValue.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/AnimatableShadow.cpp ('k') | Source/core/animation/AnimatableShapeValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimatableShapeValue.h
diff --git a/Source/core/animation/AnimatableShapeValue.h b/Source/core/animation/AnimatableShapeValue.h
index 99246937ee921c042d5b89b0ecff1e728b0287c7..4306b29fdf7a8c2c943e23b5a5e37f8bd572f8c4 100644
--- a/Source/core/animation/AnimatableShapeValue.h
+++ b/Source/core/animation/AnimatableShapeValue.h
@@ -39,14 +39,16 @@ namespace WebCore {
class AnimatableShapeValue FINAL : public AnimatableValue {
public:
virtual ~AnimatableShapeValue() { }
- static PassRefPtr<AnimatableShapeValue> create(ShapeValue* shape)
+ static PassRefPtrWillBeRawPtr<AnimatableShapeValue> create(ShapeValue* shape)
{
- return adoptRef(new AnimatableShapeValue(shape));
+ return adoptRefWillBeNoop(new AnimatableShapeValue(shape));
}
ShapeValue* shapeValue() const { return m_shape.get(); }
+ virtual void trace(Visitor*) OVERRIDE { }
+
protected:
- virtual PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const OVERRIDE;
private:
« no previous file with comments | « Source/core/animation/AnimatableShadow.cpp ('k') | Source/core/animation/AnimatableShapeValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698