Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGDocumentExtensions.cpp
index c52c15b..c4a5a8f 100644 (file)
@@ -153,8 +153,8 @@ void SVGDocumentExtensions::addPendingResource(const AtomicString& id, Element*
 
     HashMap<AtomicString, OwnPtr<SVGPendingElements> >::AddResult result = m_pendingResources.add(id, nullptr);
     if (result.isNewEntry)
-        result.iterator->value = adoptPtr(new SVGPendingElements);
-    result.iterator->value->add(element);
+        result.storedValue->value = adoptPtr(new SVGPendingElements);
+    result.storedValue->value->add(element);
 
     element->setHasPendingResources();
 }