Index: Source/core/animation/LengthStyleInterpolation.h |
diff --git a/Source/core/animation/LengthStyleInterpolation.h b/Source/core/animation/LengthStyleInterpolation.h |
index fd7302e587cf12f2963435754b6bfc010dff968d..37cfea0dd2c59e3e1e27067411f098970888680f 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,11 +30,11 @@ 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); |
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) |