Index: Source/core/svg/SVGMissingGlyphElement.h |
diff --git a/Source/core/svg/SVGMissingGlyphElement.h b/Source/core/svg/SVGMissingGlyphElement.h |
index 6ff776dec233d5cb268ac360045bdec358c1c334..0ba5189681bda92d7bd1d250e7152c7e73012bfc 100644 |
--- a/Source/core/svg/SVGMissingGlyphElement.h |
+++ b/Source/core/svg/SVGMissingGlyphElement.h |
@@ -36,11 +36,7 @@ private: |
virtual bool rendererIsNeeded(const RenderStyle&) { return false; } |
}; |
-inline SVGMissingGlyphElement* toSVGMissingGlyphElement(Node* node) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::missing_glyphTag)); |
- return static_cast<SVGMissingGlyphElement*>(node); |
-} |
+DEFINE_NODE_TYPE_CASTS(SVGMissingGlyphElement, hasTagName(SVGNames::missing_glyphTag)); |
} // namespace WebCore |