Index: Source/core/html/HTMLElement.h |
diff --git a/Source/core/html/HTMLElement.h b/Source/core/html/HTMLElement.h |
index 09ff972e265e1d83ee4ea8197d21a1c8b22cf893..e28af443e3efd13117b0d6739e0c217b55f16fc6 100644 |
--- a/Source/core/html/HTMLElement.h |
+++ b/Source/core/html/HTMLElement.h |
@@ -128,8 +128,9 @@ private: |
DEFINE_ELEMENT_TYPE_CASTS(HTMLElement, isHTMLElement()); |
+template <> inline bool isElementOfType<const HTMLElement>(const Node& node) { return node.isHTMLElement(); } |
Inactive
2014/03/20 22:15:24
Without this template specialization, isElementOfT
|
template <typename T> bool isElementOfType(const HTMLElement&); |
-template <> inline bool isElementOfType<HTMLElement>(const HTMLElement&) { return true; } |
+template <> inline bool isElementOfType<const HTMLElement>(const HTMLElement&) { return true; } |
inline HTMLElement::HTMLElement(const QualifiedName& tagName, Document& document, ConstructionType type = CreateHTMLElement) |
: Element(tagName, &document, type) |