| Index: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| index f7dad119e1c2ff37ae61a23783aa2afd0e4bc014..a9faee2eeb16c8d9afe3a28c8dd038dd3ce8ab86 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| @@ -112,9 +112,7 @@ void StyleBuilder::applyProperty(CSSPropertyID id, StyleResolverState& state, co
|
| if (id != CSSPropertyVariable
|
| && (value.isVariableReferenceValue() || value.isPendingSubstitutionValue())) {
|
|
|
| - const CSSValue* resolvedValue = value.isVariableReferenceValue() ?
|
| - CSSVariableResolver::resolveVariableReferences(state, id, toCSSVariableReferenceValue(value)) :
|
| - CSSVariableResolver::resolvePendingSubstitutions(state, id, toCSSPendingSubstitutionValue(value));
|
| + const CSSValue* resolvedValue = CSSVariableResolver::resolveVariableReferences(state, id, value);
|
| applyProperty(id, state, *resolvedValue);
|
|
|
| if (!state.style()->hasVariableReferenceFromNonInheritedProperty() && !CSSPropertyMetadata::isInheritedProperty(id))
|
|
|