| Index: third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
|
| index 1c5c182cf0ceb9df1cbb625eeafc3f79f8c81636..910b7ca79490a1aa7861b2f185207c532e7d9e94 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
|
| @@ -98,7 +98,7 @@ InterpolationValue CSSFontWeightInterpolationType::maybeConvertInherit(
|
|
|
| InterpolationValue CSSFontWeightInterpolationType::maybeConvertValue(
|
| const CSSValue& value,
|
| - const StyleResolverState& state,
|
| + const StyleResolverState* state,
|
| ConversionCheckers& conversionCheckers) const {
|
| if (!value.isIdentifierValue())
|
| return nullptr;
|
| @@ -112,7 +112,8 @@ InterpolationValue CSSFontWeightInterpolationType::maybeConvertValue(
|
|
|
| case CSSValueBolder:
|
| case CSSValueLighter: {
|
| - FontWeight inheritedFontWeight = state.parentStyle()->fontWeight();
|
| + DCHECK(state);
|
| + FontWeight inheritedFontWeight = state->parentStyle()->fontWeight();
|
| conversionCheckers.push_back(
|
| InheritedFontWeightChecker::create(inheritedFontWeight));
|
| if (keyword == CSSValueBolder)
|
|
|