| Index: Source/core/dom/LiveNodeListBase.cpp | 
| diff --git a/Source/core/dom/LiveNodeListBase.cpp b/Source/core/dom/LiveNodeListBase.cpp | 
| index a4b120205760058afa1853005fb5efffc7935c59..bfcea21151d7e4e55e13eaf94657ce3d401b028f 100644 | 
| --- a/Source/core/dom/LiveNodeListBase.cpp | 
| +++ b/Source/core/dom/LiveNodeListBase.cpp | 
| @@ -24,10 +24,19 @@ | 
| #include "config.h" | 
| #include "core/dom/LiveNodeListBase.h" | 
|  | 
| +#include "core/dom/LiveNodeList.h" | 
| #include "core/html/HTMLCollection.h" | 
|  | 
| namespace WebCore { | 
|  | 
| +void LiveNodeListBase::invalidateCacheForAttribute(const QualifiedName* attrName) const | 
| +{ | 
| +    if (isLiveNodeListType(type())) | 
| +        toLiveNodeList(this)->invalidateCacheForAttribute(attrName); | 
| +    else | 
| +        toHTMLCollection(this)->invalidateCacheForAttribute(attrName); | 
| +} | 
| + | 
| ContainerNode& LiveNodeListBase::rootNode() const | 
| { | 
| if (isRootedAtDocument() && m_ownerNode->inDocument()) | 
| @@ -42,10 +51,4 @@ void LiveNodeListBase::didMoveToDocument(Document& oldDocument, Document& newDoc | 
| newDocument.registerNodeList(this); | 
| } | 
|  | 
| -void LiveNodeListBase::invalidateIdNameCacheMaps() const | 
| -{ | 
| -    ASSERT(hasIdNameCache()); | 
| -    static_cast<const HTMLCollection*>(this)->invalidateIdNameCacheMaps(); | 
| -} | 
| - | 
| } // namespace WebCore | 
|  |