Index: Source/core/dom/NamedNodesCollection.h |
diff --git a/Source/core/dom/NamedNodesCollection.h b/Source/core/dom/NamedNodesCollection.h |
index 025fb07b812042e5865ae80169d7f6f4adbf9090..d30a2ad05b6ff6b09b2cbdb11e2536d73e64509f 100644 |
--- a/Source/core/dom/NamedNodesCollection.h |
+++ b/Source/core/dom/NamedNodesCollection.h |
@@ -31,7 +31,7 @@ |
#ifndef NamedNodesCollection_h |
#define NamedNodesCollection_h |
-#include "core/dom/Node.h" |
+#include "core/dom/Element.h" |
#include "core/dom/NodeList.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefPtr.h" |
@@ -47,7 +47,7 @@ public: |
} |
virtual unsigned length() const OVERRIDE { return m_nodes.size(); } |
- virtual Node* item(unsigned) const OVERRIDE; |
+ virtual Element* item(unsigned) const OVERRIDE; |
virtual void trace(Visitor*) OVERRIDE; |