diff options
Diffstat (limited to 'Source/WebCore/dom/Attr.cpp')
-rw-r--r-- | Source/WebCore/dom/Attr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/dom/Attr.cpp b/Source/WebCore/dom/Attr.cpp index cf2111ff2..6930fa1dc 100644 --- a/Source/WebCore/dom/Attr.cpp +++ b/Source/WebCore/dom/Attr.cpp @@ -129,7 +129,7 @@ void Attr::setValue(const AtomicString& value) createTextChild(); m_ignoreChildrenChanged--; - invalidateNodeListsCacheAfterAttributeChanged(); + invalidateNodeListsCacheAfterAttributeChanged(m_attribute->name()); } void Attr::setValue(const AtomicString& value, ExceptionCode&) @@ -174,7 +174,7 @@ void Attr::childrenChanged(bool changedByParser, Node* beforeChange, Node* after Node::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta); - invalidateNodeListsCacheAfterAttributeChanged(); + invalidateNodeListsCacheAfterAttributeChanged(m_attribute->name()); // FIXME: We should include entity references in the value |