Index: Source/core/svg/SVGHKernElement.h |
diff --git a/Source/core/svg/SVGHKernElement.h b/Source/core/svg/SVGHKernElement.h |
index c60d6249b4f65f5aa4408d4446893743bab58d16..719a5aacb78371d1c0a824d93651de18bb3d8488 100644 |
--- a/Source/core/svg/SVGHKernElement.h |
+++ b/Source/core/svg/SVGHKernElement.h |
@@ -43,11 +43,7 @@ private: |
virtual bool rendererIsNeeded(const RenderStyle&) { return false; } |
}; |
-inline SVGHKernElement* toSVGHKernElement(Node* node) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::hkernTag)); |
- return static_cast<SVGHKernElement*>(node); |
-} |
+DEFINE_NODE_TYPE_CASTS(SVGHKernElement, hasTagName(SVGNames::hkernTag)); |
} // namespace WebCore |