| Index: Source/core/animation/LengthStyleInterpolation.h
|
| diff --git a/Source/core/animation/LengthStyleInterpolation.h b/Source/core/animation/LengthStyleInterpolation.h
|
| index 791bd9fa6b7872c561dfd486c55b347904128fe9..f3626eaa7dbe6bc3528bce444e76798174bdff04 100644
|
| --- a/Source/core/animation/LengthStyleInterpolation.h
|
| +++ b/Source/core/animation/LengthStyleInterpolation.h
|
| @@ -19,23 +19,21 @@ public:
|
| typedef void (ComputedStyle::*LengthSetter)(const Length&);
|
| typedef void NonInterpolableType;
|
|
|
| - static PassRefPtrWillBeRawPtr<LengthStyleInterpolation> create(const CSSValue& start, const CSSValue& end, CSSPropertyID id, InterpolationRange range)
|
| + static PassRefPtr<LengthStyleInterpolation> create(const CSSValue& start, const CSSValue& end, CSSPropertyID id, InterpolationRange range)
|
| {
|
| - return adoptRefWillBeNoop(new LengthStyleInterpolation(toInterpolableValue(start, id), toInterpolableValue(end, id), id, range));
|
| + return adoptRef(new LengthStyleInterpolation(toInterpolableValue(start, id), toInterpolableValue(end, id), id, range));
|
| }
|
|
|
| static bool canCreateFrom(const CSSValue&, CSSPropertyID = CSSPropertyInvalid);
|
|
|
| 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<CSSPrimitiveValue> fromInterpolableValue(const InterpolableValue&, InterpolationRange);
|
| static void applyInterpolableValue(CSSPropertyID, const InterpolableValue&, InterpolationRange, StyleResolverState&, LengthSetter);
|
|
|
| private:
|
| - LengthStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id, InterpolationRange range)
|
| + LengthStyleInterpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end, CSSPropertyID id, InterpolationRange range)
|
| : StyleInterpolation(start, end, id)
|
| , m_range(range)
|
| , m_lengthSetter(nullptr)
|
|
|