| Index: Source/core/animation/animatable/AnimatableImage.cpp
|
| diff --git a/Source/core/animation/animatable/AnimatableImage.cpp b/Source/core/animation/animatable/AnimatableImage.cpp
|
| index 0f38302aaaa94d0971417e3f69e0f0a8a84aec10..216345c1d6a337e06334dea656f3b10da85a8e90 100644
|
| --- a/Source/core/animation/animatable/AnimatableImage.cpp
|
| +++ b/Source/core/animation/animatable/AnimatableImage.cpp
|
| @@ -47,7 +47,7 @@ bool AnimatableImage::usesDefaultInterpolationWith(const AnimatableValue* value)
|
| return false;
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableImage::interpolateTo(const AnimatableValue* value, double fraction) const
|
| +PassRefPtr<AnimatableValue> AnimatableImage::interpolateTo(const AnimatableValue* value, double fraction) const
|
| {
|
| if (fraction <= 0 || fraction >= 1 || usesDefaultInterpolationWith(value))
|
| return defaultInterpolateTo(this, value, fraction);
|
| @@ -55,7 +55,7 @@ PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableImage::interpolateTo(const Ani
|
| CSSValue* fromValue = toCSSValue();
|
| CSSValue* toValue = toAnimatableImage(value)->toCSSValue();
|
|
|
| - RefPtrWillBeRawPtr<CSSCrossfadeValue> crossfadeValue = CSSCrossfadeValue::create(fromValue, toValue);
|
| + RefPtr<CSSCrossfadeValue> crossfadeValue = CSSCrossfadeValue::create(fromValue, toValue);
|
| crossfadeValue->setPercentage(CSSPrimitiveValue::create(fraction, CSSPrimitiveValue::UnitType::Number));
|
| return create(crossfadeValue);
|
| }
|
|
|