Index: Source/core/dom/NamedNodeMap.cpp |
diff --git a/Source/core/dom/NamedNodeMap.cpp b/Source/core/dom/NamedNodeMap.cpp |
index f0627cfa7f34e6df1d13dba38aa80bdf4359a48e..00280faef7d06a731b95aca9e8c93ca41a256b05 100644 |
--- a/Source/core/dom/NamedNodeMap.cpp |
+++ b/Source/core/dom/NamedNodeMap.cpp |
@@ -100,7 +100,7 @@ PassRefPtr<Node> NamedNodeMap::item(unsigned index) const |
{ |
if (index >= length()) |
return nullptr; |
- return m_element->ensureAttr(m_element->attributeItem(index)->name()); |
+ return m_element->ensureAttr(m_element->attributeItem(index).name()); |
} |
size_t NamedNodeMap::length() const |