| Index: Source/core/animation/DoubleStyleInterpolation.h
|
| diff --git a/Source/core/animation/DoubleStyleInterpolation.h b/Source/core/animation/DoubleStyleInterpolation.h
|
| index 7ac03f51b0297b51c982681a9296916d7048c2fa..b549c0b7edee1dcbba238fedaedd1d539073e918 100644
|
| --- a/Source/core/animation/DoubleStyleInterpolation.h
|
| +++ b/Source/core/animation/DoubleStyleInterpolation.h
|
| @@ -13,12 +13,12 @@ namespace blink {
|
|
|
| class CORE_EXPORT DoubleStyleInterpolation : public StyleInterpolation {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<DoubleStyleInterpolation> create(const CSSValue& start, const CSSValue& end, CSSPropertyID id, CSSPrimitiveValue::UnitType type, InterpolationRange clamp)
|
| + static DoubleStyleInterpolation* create(const CSSValue& start, const CSSValue& end, CSSPropertyID id, CSSPrimitiveValue::UnitType type, InterpolationRange clamp)
|
| {
|
| - return adoptRefWillBeNoop(new DoubleStyleInterpolation(doubleToInterpolableValue(start), doubleToInterpolableValue(end), id, type == CSSPrimitiveValue::CSS_NUMBER, clamp, false));
|
| + return new DoubleStyleInterpolation(doubleToInterpolableValue(start), doubleToInterpolableValue(end), id, type == CSSPrimitiveValue::CSS_NUMBER, clamp, false);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<DoubleStyleInterpolation> maybeCreateFromMotionRotation(const CSSValue& start, const CSSValue& end, CSSPropertyID);
|
| + static DoubleStyleInterpolation* maybeCreateFromMotionRotation(const CSSValue& start, const CSSValue& end, CSSPropertyID);
|
|
|
| static bool canCreateFrom(const CSSValue&);
|
|
|
| @@ -27,15 +27,15 @@ public:
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - DoubleStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id, bool isNumber, InterpolationRange clamp, bool flag)
|
| + DoubleStyleInterpolation(InterpolableValue* start, InterpolableValue* end, CSSPropertyID id, bool isNumber, InterpolationRange clamp, bool flag)
|
| : StyleInterpolation(start, end, id)
|
| , m_isNumber(isNumber)
|
| , m_clamp(clamp)
|
| , m_flag(flag)
|
| { }
|
|
|
| - static PassOwnPtrWillBeRawPtr<InterpolableValue> doubleToInterpolableValue(const CSSValue&);
|
| - static PassOwnPtrWillBeRawPtr<InterpolableValue> motionRotationToInterpolableValue(const CSSValue&);
|
| + static InterpolableValue* doubleToInterpolableValue(const CSSValue&);
|
| + static InterpolableValue* motionRotationToInterpolableValue(const CSSValue&);
|
|
|
| static PassRefPtrWillBeRawPtr<CSSValue> interpolableValueToDouble(InterpolableValue*, bool, InterpolationRange);
|
| static PassRefPtrWillBeRawPtr<CSSValue> interpolableValueToMotionRotation(InterpolableValue*, bool);
|
|
|