Index: Source/core/animation/LengthStyleInterpolation.h |
diff --git a/Source/core/animation/LengthStyleInterpolation.h b/Source/core/animation/LengthStyleInterpolation.h |
index 791bd9fa6b7872c561dfd486c55b347904128fe9..4d9131cff7378f39009f7163a0f1fbfc325e68a3 100644 |
--- a/Source/core/animation/LengthStyleInterpolation.h |
+++ b/Source/core/animation/LengthStyleInterpolation.h |
@@ -19,9 +19,9 @@ 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 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 new LengthStyleInterpolation(toInterpolableValue(start, id), toInterpolableValue(end, id), id, range); |
} |
static bool canCreateFrom(const CSSValue&, CSSPropertyID = CSSPropertyInvalid); |
@@ -30,12 +30,12 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
- static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(const CSSValue&, CSSPropertyID = CSSPropertyInvalid); |
+ static 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(InterpolableValue* start, InterpolableValue* end, CSSPropertyID id, InterpolationRange range) |
: StyleInterpolation(start, end, id) |
, m_range(range) |
, m_lengthSetter(nullptr) |