Index: Source/core/svg/SVGGradientElement.h |
diff --git a/Source/core/svg/SVGGradientElement.h b/Source/core/svg/SVGGradientElement.h |
index 4c3778255aebdd577f19d187573e8efb2de2e60c..b6df574b13729bca2dc55d6bfe4aed93af101315 100644 |
--- a/Source/core/svg/SVGGradientElement.h |
+++ b/Source/core/svg/SVGGradientElement.h |
@@ -73,12 +73,12 @@ private: |
RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_gradientUnits; |
}; |
-inline bool isSVGGradientElement(const Node& node) |
+inline bool isSVGGradientElement(const SVGElement& element) |
{ |
- return node.hasTagName(SVGNames::radialGradientTag) || node.hasTagName(SVGNames::linearGradientTag); |
+ return element.hasTagName(SVGNames::radialGradientTag) || element.hasTagName(SVGNames::linearGradientTag); |
} |
-DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGradientElement); |
+DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGradientElement); |
} // namespace blink |