Index: Source/core/animation/animatable/AnimatableDoubleAndBool.h |
diff --git a/Source/core/animation/animatable/AnimatableDoubleAndBool.h b/Source/core/animation/animatable/AnimatableDoubleAndBool.h |
index 0dcd73e4913d3dbf18252a91da36c3afd0bf5861..e5681634137800708f5393f6ce5d2c23920c0562 100644 |
--- a/Source/core/animation/animatable/AnimatableDoubleAndBool.h |
+++ b/Source/core/animation/animatable/AnimatableDoubleAndBool.h |
@@ -13,9 +13,9 @@ namespace blink { |
class CORE_EXPORT AnimatableDoubleAndBool final : public AnimatableValue { |
public: |
~AnimatableDoubleAndBool() override { } |
- static PassRefPtrWillBeRawPtr<AnimatableDoubleAndBool> create(double number, bool flag) |
+ static AnimatableDoubleAndBool* create(double number, bool flag) |
{ |
- return adoptRefWillBeNoop(new AnimatableDoubleAndBool(number, flag)); |
+ return new AnimatableDoubleAndBool(number, flag); |
} |
double toDouble() const { return m_number; } |
@@ -24,7 +24,7 @@ public: |
DEFINE_INLINE_VIRTUAL_TRACE() { AnimatableValue::trace(visitor); } |
protected: |
- PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override; |
+ AnimatableValue* interpolateTo(const AnimatableValue*, double fraction) const override; |
bool usesDefaultInterpolationWith(const AnimatableValue*) const override; |
private: |