Index: Source/core/svg/SVGDocumentExtensions.cpp |
diff --git a/Source/core/svg/SVGDocumentExtensions.cpp b/Source/core/svg/SVGDocumentExtensions.cpp |
index c52c15b62109c5696642a25d020e7f05eebfd56d..c4a5a8f1444ffda93223737b3be9319549e14a60 100644 |
--- a/Source/core/svg/SVGDocumentExtensions.cpp |
+++ b/Source/core/svg/SVGDocumentExtensions.cpp |
@@ -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(); |
} |