Index: Source/core/svg/SVGMarkerElement.h |
diff --git a/Source/core/svg/SVGMarkerElement.h b/Source/core/svg/SVGMarkerElement.h |
index 05e50e2e6ac0012e143a019e1dbed37eb6178242..08c21ca0212d4ffd961a67cd3203df4bcebbeb83 100644 |
--- a/Source/core/svg/SVGMarkerElement.h |
+++ b/Source/core/svg/SVGMarkerElement.h |
@@ -165,11 +165,7 @@ private: |
mutable SVGSynchronizableAnimatedProperty<SVGMarkerOrientType> m_orientType; |
}; |
-inline SVGMarkerElement* toSVGMarkerElement(Node* node) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::markerTag)); |
- return static_cast<SVGMarkerElement*>(node); |
-} |
+DEFINE_NODE_TYPE_CASTS(SVGMarkerElement, hasTagName(SVGNames::markerTag)); |
} |