| Index: third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
|
| index ef834b9901f66bc7c9069ab54edd64237f68db44..8d16321df5192719b452309bc0f6cbb7b0564b5a 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
|
| @@ -212,11 +212,13 @@ enum InterpolableColorPairIndex : unsigned {
|
|
|
| InterpolationValue CSSColorInterpolationType::maybeConvertValue(
|
| const CSSValue& value,
|
| - const StyleResolverState& state,
|
| + const StyleResolverState* state,
|
| ConversionCheckers& conversionCheckers) const {
|
| if (cssProperty() == CSSPropertyColor && value.isIdentifierValue() &&
|
| - toCSSIdentifierValue(value).getValueID() == CSSValueCurrentcolor)
|
| - return maybeConvertInherit(state, conversionCheckers);
|
| + toCSSIdentifierValue(value).getValueID() == CSSValueCurrentcolor) {
|
| + DCHECK(state);
|
| + return maybeConvertInherit(*state, conversionCheckers);
|
| + }
|
|
|
| std::unique_ptr<InterpolableValue> interpolableColor =
|
| maybeCreateInterpolableColor(value);
|
|
|