Index: Source/core/html/HTMLCollection.h |
diff --git a/Source/core/html/HTMLCollection.h b/Source/core/html/HTMLCollection.h |
index 077bf2acb0ac13b360e72a4d8ebcee61939c86b7..6cf8122752a482d7174e32e10907c49dffb56064 100644 |
--- a/Source/core/html/HTMLCollection.h |
+++ b/Source/core/html/HTMLCollection.h |
@@ -38,10 +38,10 @@ public: |
virtual void invalidateCache() const OVERRIDE; |
// DOM API |
- virtual Node* namedItem(const AtomicString& name) const; |
+ virtual Element* namedItem(const AtomicString& name) const; |
// Non-DOM API |
- void namedItems(const AtomicString& name, Vector<RefPtr<Node> >&) const; |
+ void namedItems(const AtomicString& name, Vector<RefPtr<Element> >&) const; |
bool isEmpty() const |
{ |
if (isLengthCacheValid()) |