Index: Source/core/html/HTMLCollection.cpp |
diff --git a/Source/core/html/HTMLCollection.cpp b/Source/core/html/HTMLCollection.cpp |
index da341d89cf985c2c4a2c2775aee209cd9a511086..e332fb713f793001ef54618e889b50650074d7be 100644 |
--- a/Source/core/html/HTMLCollection.cpp |
+++ b/Source/core/html/HTMLCollection.cpp |
@@ -577,7 +577,7 @@ void HTMLCollection::namedItems(const AtomicString& name, Vector<RefPtr<Element> |
void HTMLCollection::append(NodeCacheMap& map, const AtomicString& key, Element* element) |
{ |
- OwnPtr<Vector<Element*> >& vector = map.add(key.impl(), nullptr).iterator->value; |
+ OwnPtr<Vector<Element*> >& vector = map.add(key.impl(), nullptr).storedValue->value; |
if (!vector) |
vector = adoptPtr(new Vector<Element*>); |
vector->append(element); |