| Index: Source/core/html/HTMLCollection.cpp
|
| diff --git a/Source/core/html/HTMLCollection.cpp b/Source/core/html/HTMLCollection.cpp
|
| index 103efabd3e558610b093314e26ed079158043ff3..74a2ccf0becf9cf5c154c9dea46a34c189ff9430 100644
|
| --- a/Source/core/html/HTMLCollection.cpp
|
| +++ b/Source/core/html/HTMLCollection.cpp
|
| @@ -578,7 +578,7 @@ inline Element* HTMLCollection::traverseForwardToOffset(unsigned offset, Element
|
| return traverseMatchingElementsForwardToOffset(*this, offset, currentElement, currentOffset, root);
|
| }
|
|
|
| -Node* HTMLCollection::namedItem(const AtomicString& name) const
|
| +Element* HTMLCollection::namedItem(const AtomicString& name) const
|
| {
|
| // http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/nameditem.asp
|
| // This method first searches for an object with a matching id
|
| @@ -628,7 +628,7 @@ void HTMLCollection::updateNameCache() const
|
| setHasNameCache();
|
| }
|
|
|
| -void HTMLCollection::namedItems(const AtomicString& name, Vector<RefPtr<Node> >& result) const
|
| +void HTMLCollection::namedItems(const AtomicString& name, Vector<RefPtr<Element> >& result) const
|
| {
|
| ASSERT(result.isEmpty());
|
| if (name.isEmpty())
|
|
|