| Index: Source/core/animation/css/CSSAnimatableValueFactory.cpp
|
| diff --git a/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/Source/core/animation/css/CSSAnimatableValueFactory.cpp
|
| index abd9d8c51ef5f975efe67f65915e64d31ba6b226..4a2b4a244c13df76b2588e31ab68819b6e156129 100644
|
| --- a/Source/core/animation/css/CSSAnimatableValueFactory.cpp
|
| +++ b/Source/core/animation/css/CSSAnimatableValueFactory.cpp
|
| @@ -178,8 +178,8 @@ inline static PassRefPtrWillBeRawPtr<AnimatableValue> createFromLengthSize(const
|
| inline static PassRefPtrWillBeRawPtr<AnimatableValue> createFromStyleImage(StyleImage* image)
|
| {
|
| if (image) {
|
| - if (RefPtrWillBeRawPtr<CSSValue> cssValue = image->cssValue())
|
| - return AnimatableImage::create(cssValue.release());
|
| + if (NullableCSSValue cssValue = image->cssValue())
|
| + return AnimatableImage::create(*cssValue);
|
| }
|
| return AnimatableUnknown::create(CSSValueNone);
|
| }
|
|
|