Index: Source/core/animation/LegacyStyleInterpolation.h |
diff --git a/Source/core/animation/LegacyStyleInterpolation.h b/Source/core/animation/LegacyStyleInterpolation.h |
index 276c9e4d47379533f757dc209b8dda5613e3ad1a..29e04c3c2fa60832ad7c0147950d8605973cf2b5 100644 |
--- a/Source/core/animation/LegacyStyleInterpolation.h |
+++ b/Source/core/animation/LegacyStyleInterpolation.h |
@@ -12,18 +12,18 @@ namespace blink { |
class LegacyStyleInterpolation : public StyleInterpolation { |
public: |
- static PassRefPtrWillBeRawPtr<LegacyStyleInterpolation> create(PassRefPtrWillBeRawPtr<AnimatableValue> start, PassRefPtrWillBeRawPtr<AnimatableValue> end, CSSPropertyID id) |
+ static LegacyStyleInterpolation* create(AnimatableValue* start, AnimatableValue* end, CSSPropertyID id) |
{ |
- return adoptRefWillBeNoop(new LegacyStyleInterpolation(InterpolableAnimatableValue::create(start), InterpolableAnimatableValue::create(end), id)); |
+ return new LegacyStyleInterpolation(InterpolableAnimatableValue::create(start), InterpolableAnimatableValue::create(end), id); |
} |
virtual void apply(StyleResolverState& state) const override |
{ |
- AnimatedStyleBuilder::applyProperty(m_id, state, currentValue().get()); |
+ AnimatedStyleBuilder::applyProperty(m_id, state, currentValue()); |
} |
virtual bool isLegacyStyleInterpolation() const override final { return true; } |
- PassRefPtrWillBeRawPtr<AnimatableValue> currentValue() const |
+ AnimatableValue* currentValue() const |
{ |
return toInterpolableAnimatableValue(m_cachedValue.get())->value(); |
} |
@@ -34,7 +34,7 @@ public: |
} |
private: |
- LegacyStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id) |
+ LegacyStyleInterpolation(InterpolableValue* start, InterpolableValue* end, CSSPropertyID id) |
: StyleInterpolation(start, end, id) |
{ |
} |