Index: Source/core/html/HTMLElement.h |
diff --git a/Source/core/html/HTMLElement.h b/Source/core/html/HTMLElement.h |
index d7ead8bdbe5698051603efb7f7235448d2a1e4fc..90c3963d63f8677f35c46a7f6541f614d5e854c8 100644 |
--- a/Source/core/html/HTMLElement.h |
+++ b/Source/core/html/HTMLElement.h |
@@ -23,7 +23,6 @@ |
#ifndef HTMLElement_h |
#define HTMLElement_h |
-#include "HTMLElementTypeHelpers.h" |
#include "core/dom/Element.h" |
namespace WebCore { |
@@ -128,6 +127,9 @@ private: |
DEFINE_ELEMENT_TYPE_CASTS(HTMLElement, isHTMLElement()); |
+template <typename T> bool isElementOfType(const HTMLElement&); |
+template <> inline bool isElementOfType<HTMLElement>(const HTMLElement&) { return true; } |
+ |
inline HTMLElement::HTMLElement(const QualifiedName& tagName, Document& document, ConstructionType type = CreateHTMLElement) |
: Element(tagName, &document, type) |
{ |
@@ -137,4 +139,6 @@ inline HTMLElement::HTMLElement(const QualifiedName& tagName, Document& document |
} // namespace WebCore |
+#include "HTMLElementTypeHelpers.h" |
+ |
#endif // HTMLElement_h |