| Index: Source/core/dom/LiveNodeList.cpp
|
| diff --git a/Source/core/dom/LiveNodeList.cpp b/Source/core/dom/LiveNodeList.cpp
|
| index dba44d312b404495cf22ac5c65049d974be9135e..b437e68908ef5f953b87c4a67035faba2adf0f00 100644
|
| --- a/Source/core/dom/LiveNodeList.cpp
|
| +++ b/Source/core/dom/LiveNodeList.cpp
|
| @@ -40,6 +40,16 @@ void LiveNodeList::invalidateCache(Document*) const
|
| m_collectionIndexCache.invalidate();
|
| }
|
|
|
| +unsigned LiveNodeList::length() const
|
| +{
|
| + return m_collectionIndexCache.nodeCount(*this);
|
| +}
|
| +
|
| +Element* LiveNodeList::item(unsigned offset) const
|
| +{
|
| + return m_collectionIndexCache.nodeAt(*this, offset);
|
| +}
|
| +
|
| Element* LiveNodeList::traverseToFirstElement() const
|
| {
|
| return firstMatchingElement(*this);
|
|
|