| Index: third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp
|
| index 250537a56788953533731329ce8886076bf57093..074494f386574d046063cec37e3e126d1c02cacb 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp
|
| @@ -71,16 +71,16 @@ private:
|
| RefPtr<ShadowList> m_shadowList;
|
| };
|
|
|
| -PassOwnPtr<InterpolationValue> CSSShadowListInterpolationType::maybeConvertInherit(const StyleResolverState* state, ConversionCheckers& conversionCheckers) const
|
| +PassOwnPtr<InterpolationValue> CSSShadowListInterpolationType::maybeConvertInherit(const StyleResolverState& state, ConversionCheckers& conversionCheckers) const
|
| {
|
| - if (!state || !state->parentStyle())
|
| + if (!state.parentStyle())
|
| return nullptr;
|
| - const ShadowList* parentShadowList = ShadowListPropertyFunctions::getShadowList(cssProperty(), *state->parentStyle());
|
| + const ShadowList* parentShadowList = ShadowListPropertyFunctions::getShadowList(cssProperty(), *state.parentStyle());
|
| conversionCheckers.append(ParentShadowListChecker::create(*this, cssProperty(), const_cast<ShadowList*>(parentShadowList))); // Take ref.
|
| - return convertShadowList(parentShadowList, state->parentStyle()->effectiveZoom());
|
| + return convertShadowList(parentShadowList, state.parentStyle()->effectiveZoom());
|
| }
|
|
|
| -PassOwnPtr<InterpolationValue> CSSShadowListInterpolationType::maybeConvertValue(const CSSValue& value, const StyleResolverState*, ConversionCheckers&) const
|
| +PassOwnPtr<InterpolationValue> CSSShadowListInterpolationType::maybeConvertValue(const CSSValue& value, const StyleResolverState&, ConversionCheckers&) const
|
| {
|
| if (value.isPrimitiveValue() && toCSSPrimitiveValue(value).getValueID() == CSSValueNone)
|
| return createNeutralValue();
|
|
|