Index: Source/core/animation/LengthPairStyleInterpolation.h |
diff --git a/Source/core/animation/LengthPairStyleInterpolation.h b/Source/core/animation/LengthPairStyleInterpolation.h |
index 7f20355f69a73234643d2814c34708d0954af669..d9d7d762e56ee373bf590c8e8c4605c0fd072be3 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: |
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; |