Index: Source/core/svg/SVGRadialGradientElement.cpp |
diff --git a/Source/core/svg/SVGRadialGradientElement.cpp b/Source/core/svg/SVGRadialGradientElement.cpp |
index 2842edde0622594d1aea9cfb7d3cdb377f33c66f..7e831964fb07988194a29b8d3642ccc8adcbae75 100644 |
--- a/Source/core/svg/SVGRadialGradientElement.cpp |
+++ b/Source/core/svg/SVGRadialGradientElement.cpp |
@@ -190,7 +190,7 @@ bool SVGRadialGradientElement::collectGradientAttributes(RadialGradientAttribute |
if (!current->renderer()) |
return false; |
- setGradientAttributes(current, attributes, current->hasTagName(SVGNames::radialGradientTag)); |
+ setGradientAttributes(current, attributes, isSVGRadialGradientElement(*current)); |
processedGradients.add(current); |
} else { |
break; |