| Index: Source/core/animation/LegacyStyleInterpolation.h
|
| diff --git a/Source/core/animation/LegacyStyleInterpolation.h b/Source/core/animation/LegacyStyleInterpolation.h
|
| index aceb97d6b844261d3dcc71dbf68058b6e8102aa7..e3472bd1d10ad24af32a6034586bffd2c0509c35 100644
|
| --- a/Source/core/animation/LegacyStyleInterpolation.h
|
| +++ b/Source/core/animation/LegacyStyleInterpolation.h
|
| @@ -12,9 +12,9 @@ namespace blink {
|
|
|
| class LegacyStyleInterpolation : public StyleInterpolation {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<LegacyStyleInterpolation> create(PassRefPtrWillBeRawPtr<AnimatableValue> start, PassRefPtrWillBeRawPtr<AnimatableValue> end, CSSPropertyID id)
|
| + static PassRefPtr<LegacyStyleInterpolation> create(PassRefPtr<AnimatableValue> start, PassRefPtr<AnimatableValue> end, CSSPropertyID id)
|
| {
|
| - return adoptRefWillBeNoop(new LegacyStyleInterpolation(InterpolableAnimatableValue::create(start), InterpolableAnimatableValue::create(end), id));
|
| + return adoptRef(new LegacyStyleInterpolation(InterpolableAnimatableValue::create(start), InterpolableAnimatableValue::create(end), id));
|
| }
|
|
|
| void apply(StyleResolverState& state) const override
|
| @@ -23,18 +23,13 @@ public:
|
| }
|
|
|
| bool isLegacyStyleInterpolation() const final { return true; }
|
| - PassRefPtrWillBeRawPtr<AnimatableValue> currentValue() const
|
| + PassRefPtr<AnimatableValue> currentValue() const
|
| {
|
| return toInterpolableAnimatableValue(m_cachedValue.get())->value();
|
| }
|
|
|
| - DEFINE_INLINE_VIRTUAL_TRACE()
|
| - {
|
| - StyleInterpolation::trace(visitor);
|
| - }
|
| -
|
| private:
|
| - LegacyStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id)
|
| + LegacyStyleInterpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end, CSSPropertyID id)
|
| : StyleInterpolation(start, end, id)
|
| {
|
| }
|
|
|