Index: Source/core/animation/LengthPairStyleInterpolation.h |
diff --git a/Source/core/animation/LengthPairStyleInterpolation.h b/Source/core/animation/LengthPairStyleInterpolation.h |
index 623c333b1605b1cf0039677e391c96003c271501..31d9a3016803245d04835b7829656485b71a74cb 100644 |
--- a/Source/core/animation/LengthPairStyleInterpolation.h |
+++ b/Source/core/animation/LengthPairStyleInterpolation.h |
@@ -13,9 +13,9 @@ namespace blink { |
class CORE_EXPORT LengthPairStyleInterpolation : public StyleInterpolation { |
public: |
- static PassRefPtrWillBeRawPtr<LengthPairStyleInterpolation> create(const CSSValue& start, const CSSValue& end, CSSPropertyID id, InterpolationRange range) |
+ static LengthPairStyleInterpolation* create(const CSSValue& start, const CSSValue& end, CSSPropertyID id, InterpolationRange range) |
{ |
- return adoptRefWillBeNoop(new LengthPairStyleInterpolation(lengthPairToInterpolableValue(start), lengthPairToInterpolableValue(end), id, range)); |
+ return new LengthPairStyleInterpolation(lengthPairToInterpolableValue(start), lengthPairToInterpolableValue(end), id, range); |
} |
static bool canCreateFrom(const CSSValue&); |
@@ -23,12 +23,12 @@ public: |
virtual void apply(StyleResolverState&) const override; |
private: |
- LengthPairStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id, InterpolationRange range) |
+ LengthPairStyleInterpolation(InterpolableValue* start, InterpolableValue* end, CSSPropertyID id, InterpolationRange range) |
: StyleInterpolation(start, end, id), m_range(range) |
{ |
} |
- static PassOwnPtrWillBeRawPtr<InterpolableValue> lengthPairToInterpolableValue(const CSSValue&); |
+ static InterpolableValue* lengthPairToInterpolableValue(const CSSValue&); |
static PassRefPtrWillBeRawPtr<CSSValue> interpolableValueToLengthPair(InterpolableValue*, InterpolationRange); |
InterpolationRange m_range; |