Index: Source/core/events/EventPath.cpp |
diff --git a/Source/core/events/EventPath.cpp b/Source/core/events/EventPath.cpp |
index c69d7744ace2149ca0cdc605587c3fe35b163ff4..2e4480f4a6ed7c84d5f5960c9eb5e76675f1cd32 100644 |
--- a/Source/core/events/EventPath.cpp |
+++ b/Source/core/events/EventPath.cpp |
@@ -182,7 +182,8 @@ TreeScopeEventContext* EventPath::ensureTreeScopeEventContext(Node* currentTarge |
bool isNewEntry; |
{ |
TreeScopeEventContextMap::AddResult addResult = treeScopeEventContextMap.add(treeScope, nullptr); |
- if ((isNewEntry = addResult.isNewEntry)) |
+ isNewEntry = addResult.isNewEntry; |
+ if (isNewEntry) |
addResult.storedValue->value = TreeScopeEventContext::create(*treeScope); |
treeScopeEventContext = addResult.storedValue->value.get(); |
} |