| Index: Source/core/animation/DoubleStyleInterpolation.h
|
| diff --git a/Source/core/animation/DoubleStyleInterpolation.h b/Source/core/animation/DoubleStyleInterpolation.h
|
| index 88a659d765f2a826224201b8da2bcd375161e103..7ab32b27abf6dc03799d7c851ea70630870214a8 100644
|
| --- a/Source/core/animation/DoubleStyleInterpolation.h
|
| +++ b/Source/core/animation/DoubleStyleInterpolation.h
|
| @@ -15,32 +15,30 @@ class CORE_EXPORT DoubleStyleInterpolation : public StyleInterpolation {
|
| public:
|
| typedef void NonInterpolableType;
|
|
|
| - static PassRefPtrWillBeRawPtr<DoubleStyleInterpolation> create(const CSSValue& start, const CSSValue& end, CSSPropertyID id, bool isNumber, InterpolationRange clamp)
|
| + static PassRefPtr<DoubleStyleInterpolation> create(const CSSValue& start, const CSSValue& end, CSSPropertyID id, bool isNumber, InterpolationRange clamp)
|
| {
|
| - return adoptRefWillBeNoop(new DoubleStyleInterpolation(doubleToInterpolableValue(start), doubleToInterpolableValue(end), id, isNumber, clamp, false));
|
| + return adoptRef(new DoubleStyleInterpolation(doubleToInterpolableValue(start), doubleToInterpolableValue(end), id, isNumber, clamp, false));
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<DoubleStyleInterpolation> maybeCreateFromMotionRotation(const CSSValue& start, const CSSValue& end, CSSPropertyID);
|
| + static PassRefPtr<DoubleStyleInterpolation> maybeCreateFromMotionRotation(const CSSValue& start, const CSSValue& end, CSSPropertyID);
|
|
|
| static bool canCreateFrom(const CSSValue&);
|
|
|
| void apply(StyleResolverState&) const override;
|
|
|
| - DECLARE_VIRTUAL_TRACE();
|
| -
|
| - static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(const CSSValue&, CSSPropertyID = CSSPropertyInvalid);
|
| + static PassOwnPtr<InterpolableValue> toInterpolableValue(const CSSValue&, CSSPropertyID = CSSPropertyInvalid);
|
| static PassRefPtrWillBeRawPtr<CSSValue> fromInterpolableValue(const InterpolableValue&, InterpolationRange);
|
|
|
| private:
|
| - DoubleStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id, bool isNumber, InterpolationRange clamp, bool flag)
|
| + DoubleStyleInterpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<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 PassOwnPtr<InterpolableValue> doubleToInterpolableValue(const CSSValue&);
|
| + static PassOwnPtr<InterpolableValue> motionRotationToInterpolableValue(const CSSValue&);
|
|
|
| static PassRefPtrWillBeRawPtr<CSSValue> interpolableValueToDouble(const InterpolableValue*, bool, InterpolationRange);
|
| static PassRefPtrWillBeRawPtr<CSSValue> interpolableValueToMotionRotation(InterpolableValue*, bool);
|
|
|