Index: Source/core/svg/SVGPolyElement.h |
diff --git a/Source/core/svg/SVGPolyElement.h b/Source/core/svg/SVGPolyElement.h |
index 4d1b282b401522aa2b12aacaa40513723863e740..f6ef0735115629b8a97c8e3407ff4585e3991be3 100644 |
--- a/Source/core/svg/SVGPolyElement.h |
+++ b/Source/core/svg/SVGPolyElement.h |
@@ -48,12 +48,12 @@ private: |
}; |
-inline bool isSVGPolyElement(const Node& node) |
+inline bool isSVGPolyElement(const SVGElement& element) |
{ |
- return node.hasTagName(SVGNames::polygonTag) || node.hasTagName(SVGNames::polylineTag); |
+ return element.hasTagName(SVGNames::polygonTag) || element.hasTagName(SVGNames::polylineTag); |
} |
-DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGPolyElement); |
+DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGPolyElement); |
} // namespace blink |