| Index: Source/core/dom/Document.cpp
 | 
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
 | 
| index 87d874a1b19f9ca108cde106e3fe8344f7202af0..57e4a8bca25a423de5db1c5abe960d815c7005d7 100644
 | 
| --- a/Source/core/dom/Document.cpp
 | 
| +++ b/Source/core/dom/Document.cpp
 | 
| @@ -3559,8 +3559,6 @@ void Document::setCSSTarget(Element* n)
 | 
|  
 | 
|  void Document::registerNodeList(LiveNodeListBase* list)
 | 
|  {
 | 
| -    if (list->hasIdNameCache())
 | 
| -        m_nodeListCounts[InvalidateOnIdNameAttrChange]++;
 | 
|      m_nodeListCounts[list->invalidationType()]++;
 | 
|      if (list->isRootedAtDocument())
 | 
|          m_listsInvalidatedAtDocument.add(list);
 | 
| @@ -3568,8 +3566,6 @@ void Document::registerNodeList(LiveNodeListBase* list)
 | 
|  
 | 
|  void Document::unregisterNodeList(LiveNodeListBase* list)
 | 
|  {
 | 
| -    if (list->hasIdNameCache())
 | 
| -        m_nodeListCounts[InvalidateOnIdNameAttrChange]--;
 | 
|      m_nodeListCounts[list->invalidationType()]--;
 | 
|      if (list->isRootedAtDocument()) {
 | 
|          ASSERT(m_listsInvalidatedAtDocument.contains(list));
 | 
| 
 |