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 b88584ac69d9298d4b21ba3daa3aa9bc9f2c172f..2eaea703d3225e657af975761297db42602cad3a 100644 |
--- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp |
+++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp |
@@ -147,7 +147,7 @@ static EColorInterpolation colorInterpolationForElement(SVGElement& element, ECo |
// No layout has been performed, try to determine the property value |
// "manually" (used by external SVG files.) |
if (const StylePropertySet* propertySet = element.presentationAttributeStyle()) { |
- CSSValue* cssValue = propertySet->getPropertyCSSValue(CSSPropertyColorInterpolationFilters); |
+ const CSSValue* cssValue = propertySet->getPropertyCSSValue(CSSPropertyColorInterpolationFilters); |
if (cssValue && cssValue->isPrimitiveValue()) { |
const CSSPrimitiveValue& primitiveValue = toCSSPrimitiveValue(*cssValue); |
return primitiveValue.convertTo<EColorInterpolation>(); |