Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index f14328912ea71952de8b4c144e6c1b1a8772239a..d62a80e8135b3a9814f1bb5ab990dd93615315ef 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -3560,8 +3560,6 @@ void Document::setCSSTarget(Element* n) |
void Document::registerNodeList(LiveNodeListBase* list) |
{ |
- if (list->hasIdNameCache()) |
Inactive
2014/02/12 18:26:08
We only want to cause invalidation if the NodeList
|
- m_nodeListCounts[InvalidateOnIdNameAttrChange]++; |
m_nodeListCounts[list->invalidationType()]++; |
if (list->isRootedAtDocument()) |
m_listsInvalidatedAtDocument.add(list); |
@@ -3569,8 +3567,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)); |