| Index: third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp
|
| index 25dda4ab6a5711170318d0dbf8573dea9567aae9..f8df2b8fcf4b3fa1c34cdd163a9e5545091169b2 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp
|
| @@ -184,19 +184,19 @@ private:
|
| RefPtrWillBePersistent<StyleImage> m_inheritedImage;
|
| };
|
|
|
| -PassOwnPtr<InterpolationValue> CSSImageInterpolationType::maybeConvertInherit(const StyleResolverState* state, ConversionCheckers& conversionCheckers) const
|
| +PassOwnPtr<InterpolationValue> CSSImageInterpolationType::maybeConvertInherit(const StyleResolverState& state, ConversionCheckers& conversionCheckers) const
|
| {
|
| - if (!state || !state->parentStyle())
|
| + if (!state.parentStyle())
|
| return nullptr;
|
|
|
| - const StyleImage* inheritedImage = ImagePropertyFunctions::getStyleImage(cssProperty(), *state->parentStyle());
|
| + const StyleImage* inheritedImage = ImagePropertyFunctions::getStyleImage(cssProperty(), *state.parentStyle());
|
| StyleImage* refableImage = const_cast<StyleImage*>(inheritedImage);
|
| conversionCheckers.append(ParentImageChecker::create(*this, cssProperty(), refableImage));
|
| InterpolationComponent component = maybeConvertStyleImage(inheritedImage, true);
|
| return component ? InterpolationValue::create(*this, component) : nullptr;
|
| }
|
|
|
| -PassOwnPtr<InterpolationValue> CSSImageInterpolationType::maybeConvertValue(const CSSValue& value, const StyleResolverState*, ConversionCheckers&) const
|
| +PassOwnPtr<InterpolationValue> CSSImageInterpolationType::maybeConvertValue(const CSSValue& value, const StyleResolverState&, ConversionCheckers&) const
|
| {
|
| InterpolationComponent component = maybeConvertCSSValue(value, true);
|
| return component ? InterpolationValue::create(*this, component) : nullptr;
|
|
|