Index: Source/core/animation/animatable/AnimatableShapeValue.h |
diff --git a/Source/core/animation/animatable/AnimatableShapeValue.h b/Source/core/animation/animatable/AnimatableShapeValue.h |
index a5572b2a41ce1c9c2983294394ec70acd1f620c3..c863db4933742f17a975d85d8ed15e4e50e3f1e1 100644 |
--- a/Source/core/animation/animatable/AnimatableShapeValue.h |
+++ b/Source/core/animation/animatable/AnimatableShapeValue.h |
@@ -40,16 +40,16 @@ namespace blink { |
class CORE_EXPORT AnimatableShapeValue final : public AnimatableValue { |
public: |
virtual ~AnimatableShapeValue() { } |
- static PassRefPtrWillBeRawPtr<AnimatableShapeValue> create(ShapeValue* shape) |
+ static AnimatableShapeValue* create(ShapeValue* shape) |
{ |
- return adoptRefWillBeNoop(new AnimatableShapeValue(shape)); |
+ return new AnimatableShapeValue(shape); |
} |
ShapeValue* shapeValue() const { return m_shape.get(); } |
DEFINE_INLINE_VIRTUAL_TRACE() { AnimatableValue::trace(visitor); } |
protected: |
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override; |
+ virtual AnimatableValue* interpolateTo(const AnimatableValue*, double fraction) const override; |
virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const override; |
private: |