Index: Source/core/svg/SVGFEImageElement.h |
diff --git a/Source/core/svg/SVGFEImageElement.h b/Source/core/svg/SVGFEImageElement.h |
index c769e5572136dcc9b5a7c463f5e4d347c18cbf0f..78864b5fad3edf0d47aebfc813cf7d29c4a92e80 100644 |
--- a/Source/core/svg/SVGFEImageElement.h |
+++ b/Source/core/svg/SVGFEImageElement.h |
@@ -72,11 +72,7 @@ private: |
ResourcePtr<ImageResource> m_cachedImage; |
}; |
-inline SVGFEImageElement* toSVGFEImageElement(Node* node) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::feImageTag)); |
- return static_cast<SVGFEImageElement*>(node); |
-} |
+DEFINE_NODE_TYPE_CASTS(SVGFEImageElement, hasTagName(SVGNames::feImageTag)); |
} // namespace WebCore |