| Index: third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
|
| index 4142bc6583d29126022b865e01ddee5f06d36d42..0ac0f2230a4db7fdc488b11f04062ec7ce3081ea 100644
|
| --- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp
|
| @@ -146,9 +146,8 @@ static EColorInterpolation colorInterpolationForElement(
|
| element.presentationAttributeStyle()) {
|
| const CSSValue* cssValue =
|
| propertySet->getPropertyCSSValue(CSSPropertyColorInterpolationFilters);
|
| - if (cssValue && cssValue->isPrimitiveValue()) {
|
| - const CSSPrimitiveValue& primitiveValue = toCSSPrimitiveValue(*cssValue);
|
| - return primitiveValue.convertTo<EColorInterpolation>();
|
| + if (cssValue && cssValue->isIdentifierValue()) {
|
| + return toCSSIdentifierValue(*cssValue).convertTo<EColorInterpolation>();
|
| }
|
| }
|
| // 'auto' is the default (per Filter Effects), but since the property is
|
|
|