diff options
Diffstat (limited to 'Source/WebCore/dom/NamedNodeMap.cpp')
-rw-r--r-- | Source/WebCore/dom/NamedNodeMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/dom/NamedNodeMap.cpp b/Source/WebCore/dom/NamedNodeMap.cpp index 0e2861e..2861226 100644 --- a/Source/WebCore/dom/NamedNodeMap.cpp +++ b/Source/WebCore/dom/NamedNodeMap.cpp @@ -357,7 +357,7 @@ bool NamedNodeMap::mappedMapsEquivalent(const NamedNodeMap* otherMap) const ASSERT(attr->isMappedAttribute()); Attribute* otherAttr = otherMap->getAttributeItem(attr->name()); - if (!otherAttr || attr->value() != otherAttr->value()) + if (!otherAttr || !otherAttr->decl() || attr->value() != otherAttr->value()) return false; if (!attr->decl()->propertiesEqual(otherAttr->decl())) return false; |