Index: Source/core/svg/SVGFEFuncAElement.h |
diff --git a/Source/core/svg/SVGFEFuncAElement.h b/Source/core/svg/SVGFEFuncAElement.h |
index 7f6cfdc6e613b3152b9382d0b8cc676d158928b6..fcd7aeec19fbde35fafbdf3e3ddd91df50353aa2 100644 |
--- a/Source/core/svg/SVGFEFuncAElement.h |
+++ b/Source/core/svg/SVGFEFuncAElement.h |
@@ -34,11 +34,7 @@ private: |
SVGFEFuncAElement(const QualifiedName&, Document&); |
}; |
-inline SVGFEFuncAElement* toSVGFEFuncAElement(Node* node) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::feFuncATag)); |
- return static_cast<SVGFEFuncAElement*>(node); |
-} |
+DEFINE_NODE_TYPE_CASTS(SVGFEFuncAElement, hasTagName(SVGNames::feFuncATag)); |
} // namespace WebCore |