Index: Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
diff --git a/Source/core/rendering/svg/ReferenceFilterBuilder.cpp b/Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
index 8c0a5c517a4efdcff78d1ae1fb48511b7340beca..e2a15e96eec3cac4bb750765093e72891fcdab45 100644 |
--- a/Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
+++ b/Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
@@ -82,8 +82,7 @@ static bool getSVGElementColorSpace(SVGElement* svgElement, ColorSpace& cs) |
eColorInterpolation = svgStyle->colorInterpolationFilters(); |
} else { |
// Otherwise, use the slow path by using string comparison (used by external svg files) |
- RefPtr<CSSValue> cssValue = svgElement->getPresentationAttribute( |
- SVGNames::color_interpolation_filtersAttr.toString()); |
+ RefPtr<CSSValue> cssValue = svgElement->getPresentationAttribute(AtomicString(SVGNames::color_interpolation_filtersAttr.toString())); |
if (cssValue.get() && cssValue->isPrimitiveValue()) { |
const CSSPrimitiveValue& primitiveValue = *((CSSPrimitiveValue*)cssValue.get()); |
eColorInterpolation = (EColorInterpolation)primitiveValue; |
@@ -169,7 +168,7 @@ PassRefPtr<FilterEffect> ReferenceFilterBuilder::build(Filter* parentFilter, Ren |
ColorSpace colorSpace = filterColorSpace; |
if (useFilterColorSpace || getSVGElementColorSpace(effectElement, colorSpace)) |
effect->setOperatingColorSpace(colorSpace); |
- builder->add(effectElement->resultCurrentValue(), effect); |
+ builder->add(AtomicString(effectElement->resultCurrentValue()), effect); |
} |
return builder->lastEffect(); |
} |