Index: Source/core/svg/SVGFEFuncBElement.h |
diff --git a/Source/core/svg/SVGFEFuncBElement.h b/Source/core/svg/SVGFEFuncBElement.h |
index 6bf582e591238fd23d18686bae5918284bf98241..4639acb5677c9b3569b62740b74e7988d02dacb7 100644 |
--- a/Source/core/svg/SVGFEFuncBElement.h |
+++ b/Source/core/svg/SVGFEFuncBElement.h |
@@ -34,11 +34,7 @@ private: |
SVGFEFuncBElement(const QualifiedName&, Document&); |
}; |
-inline SVGFEFuncBElement* toSVGFEFuncBElement(Node* node) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::feFuncBTag)); |
- return static_cast<SVGFEFuncBElement*>(node); |
-} |
+DEFINE_NODE_TYPE_CASTS(SVGFEFuncBElement, hasTagName(SVGNames::feFuncBTag)); |
} // namespace WebCore |