| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index e09cc17eb19df59c297bb46b7b381734e69460c3..ede08dbcf10916dc5c661bc91a12e43a972394f7 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -864,11 +864,8 @@ void Node::invalidateNodeListCachesInAncestors(const QualifiedName* attrName, El
|
| document().invalidateNodeListCaches(attrName);
|
|
|
| for (Node* node = this; node; node = node->parentNode()) {
|
| - if (!node->hasRareData())
|
| - continue;
|
| - NodeRareData* data = node->rareData();
|
| - if (data->nodeLists())
|
| - data->nodeLists()->invalidateCaches(attrName);
|
| + if (NodeListsNodeData* lists = node->nodeLists())
|
| + lists->invalidateCaches(attrName);
|
| }
|
| }
|
|
|
|
|