Index: Source/core/svg/SVGElement.h |
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h |
index 0e8133471f692ac8837a971ad1ee7333ec59c0f9..1622722dfbe7f66f9cc7d9da22b324827d2a6d04 100644 |
--- a/Source/core/svg/SVGElement.h |
+++ b/Source/core/svg/SVGElement.h |
@@ -230,10 +230,7 @@ struct SVGAttributeHashTranslator { |
static bool equal(const QualifiedName& a, const QualifiedName& b) { return a.matches(b); } |
}; |
-DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement()); |
- |
-// Template specialization to make Traversal<SVGElement> work. |
-template <> inline bool isElementOfType<const SVGElement>(const Element& element) { return element.isSVGElement(); } |
+DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); |
} |