Index: Source/core/svg/SVGMarkerElement.h |
diff --git a/Source/core/svg/SVGMarkerElement.h b/Source/core/svg/SVGMarkerElement.h |
index 71593e7d74def0f5078ba1125bc7889cbb1625d0..df6a0c55a59fba803a9f23b948148b1182e0ba7a 100644 |
--- a/Source/core/svg/SVGMarkerElement.h |
+++ b/Source/core/svg/SVGMarkerElement.h |
@@ -164,10 +164,10 @@ private: |
mutable SVGSynchronizableAnimatedProperty<SVGMarkerOrientType> m_orientType; |
}; |
-inline SVGMarkerElement* toSVGMarkerElement(SVGElement* element) |
+inline SVGMarkerElement* toSVGMarkerElement(Node* node) |
{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::markerTag)); |
- return static_cast<SVGMarkerElement*>(element); |
+ ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::markerTag)); |
+ return static_cast<SVGMarkerElement*>(node); |
} |
} |