Index: Source/core/svg/SVGVKernElement.h |
diff --git a/Source/core/svg/SVGVKernElement.h b/Source/core/svg/SVGVKernElement.h |
index 185b0deff97ba595211f6146e6b1334eba3e228e..6dfc55df6541340f63917d196eecbb3e155e397a 100644 |
--- a/Source/core/svg/SVGVKernElement.h |
+++ b/Source/core/svg/SVGVKernElement.h |
@@ -42,11 +42,7 @@ private: |
virtual bool rendererIsNeeded(const RenderStyle&) { return false; } |
}; |
-inline SVGVKernElement* toSVGVKernElement(Node* node) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::vkernTag)); |
- return static_cast<SVGVKernElement*>(node); |
-} |
+DEFINE_NODE_TYPE_CASTS(SVGVKernElement, hasTagName(SVGNames::vkernTag)); |
} // namespace WebCore |