| Index: Source/core/animation/ShadowStyleInterpolation.cpp
|
| diff --git a/Source/core/animation/ShadowStyleInterpolation.cpp b/Source/core/animation/ShadowStyleInterpolation.cpp
|
| index 076993991936e6f6eac8d4cc0b430b02d88d8b0a..6ede88e27cf3e215025b958ef78fad6c22cea2df 100644
|
| --- a/Source/core/animation/ShadowStyleInterpolation.cpp
|
| +++ b/Source/core/animation/ShadowStyleInterpolation.cpp
|
| @@ -21,16 +21,16 @@ bool ShadowStyleInterpolation::canCreateFrom(const CSSValue& start, const CSSVal
|
| && toCSSShadowValue(start).color && toCSSShadowValue(end).color;
|
| }
|
|
|
| -PassOwnPtrWillBeRawPtr<InterpolableValue> ShadowStyleInterpolation::lengthToInterpolableValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> value)
|
| +InterpolableValue* ShadowStyleInterpolation::lengthToInterpolableValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> value)
|
| {
|
| if (value)
|
| return LengthStyleInterpolation::toInterpolableValue(*value);
|
| return LengthStyleInterpolation::toInterpolableValue(*CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_PX));
|
| }
|
|
|
| -PassOwnPtrWillBeRawPtr<InterpolableValue> ShadowStyleInterpolation::toInterpolableValue(const CSSValue& value, NonInterpolableType& nonInterpolableData)
|
| +InterpolableValue* ShadowStyleInterpolation::toInterpolableValue(const CSSValue& value, NonInterpolableType& nonInterpolableData)
|
| {
|
| - OwnPtrWillBeRawPtr<InterpolableList> result = InterpolableList::create(5);
|
| + InterpolableList* result = InterpolableList::create(5);
|
| const CSSShadowValue* shadowValue = toCSSShadowValue(&value);
|
| ASSERT(shadowValue);
|
|
|
| @@ -47,7 +47,7 @@ PassOwnPtrWillBeRawPtr<InterpolableValue> ShadowStyleInterpolation::toInterpolab
|
| else
|
| nonInterpolableData = false;
|
|
|
| - return result.release();
|
| + return result;
|
| }
|
|
|
| PassRefPtrWillBeRawPtr<CSSValue> ShadowStyleInterpolation::fromInterpolableValue(const InterpolableValue& value, NonInterpolableType nonInterpolableData, InterpolationRange range)
|
|
|