Index: Source/core/dom/IdTargetObserverRegistry.cpp |
diff --git a/Source/core/dom/IdTargetObserverRegistry.cpp b/Source/core/dom/IdTargetObserverRegistry.cpp |
index 45ad4dc1a758096bfe12a44374f2e32a31f5beaf..80bd6b33f63fa29fecd4ff6e32ea79aaf1ca0f39 100644 |
--- a/Source/core/dom/IdTargetObserverRegistry.cpp |
+++ b/Source/core/dom/IdTargetObserverRegistry.cpp |
@@ -42,9 +42,9 @@ void IdTargetObserverRegistry::addObserver(const AtomicString& id, IdTargetObser |
IdToObserverSetMap::AddResult result = m_registry.add(id.impl(), nullptr); |
if (result.isNewEntry) |
- result.iterator->value = adoptPtr(new ObserverSet()); |
+ result.storedValue->value = adoptPtr(new ObserverSet()); |
- result.iterator->value->add(observer); |
+ result.storedValue->value->add(observer); |
} |
void IdTargetObserverRegistry::removeObserver(const AtomicString& id, IdTargetObserver* observer) |