Index: Source/core/events/EventPath.cpp |
diff --git a/Source/core/events/EventPath.cpp b/Source/core/events/EventPath.cpp |
index 5dabce8db6535f60e4e3b2f2a0f5c651632806b4..c35c575da7daf329d7fe317ed0a8aac5652f333b 100644 |
--- a/Source/core/events/EventPath.cpp |
+++ b/Source/core/events/EventPath.cpp |
@@ -204,7 +204,7 @@ TreeScopeEventContext* EventPath::ensureTreeScopeEventContext(Node* currentTarge |
if (!treeScope) |
return 0; |
TreeScopeEventContextMap::AddResult addResult = treeScopeEventContextMap.add(treeScope, TreeScopeEventContext::create(*treeScope)); |
- TreeScopeEventContext* treeScopeEventContext = addResult.iterator->value.get(); |
+ TreeScopeEventContext* treeScopeEventContext = addResult.storedValue->value.get(); |
if (addResult.isNewEntry) { |
TreeScopeEventContext* parentTreeScopeEventContext = ensureTreeScopeEventContext(0, treeScope->olderShadowRootOrParentTreeScope(), treeScopeEventContextMap); |
if (parentTreeScopeEventContext && parentTreeScopeEventContext->target()) { |
@@ -234,7 +234,7 @@ void EventPath::calculateAdjustedTargets() |
lastTreeScopeEventContext = ensureTreeScopeEventContext(currentNode, ¤tTreeScope, treeScopeEventContextMap); |
} else { |
TreeScopeEventContextMap::AddResult addResult = treeScopeEventContextMap.add(¤tTreeScope, TreeScopeEventContext::create(currentTreeScope)); |
- lastTreeScopeEventContext = addResult.iterator->value.get(); |
+ lastTreeScopeEventContext = addResult.storedValue->value.get(); |
if (addResult.isNewEntry) { |
// Don't adjust an event target for SVG. |
lastTreeScopeEventContext->setTarget(eventTargetRespectingTargetRules(at(0).node())); |