| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 90e8afb08463db1fc27d15d38f0514117fc655b1..26f3b754eb04bf55d3f07687ed336c1eba7374fc 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -3556,8 +3556,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);
|
| @@ -3565,8 +3563,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));
|
|
|