Index: Source/core/inspector/InspectorNodeIds.cpp |
diff --git a/Source/core/inspector/InspectorNodeIds.cpp b/Source/core/inspector/InspectorNodeIds.cpp |
index d39a78a9d45c61d9f224ee27061e610468e79258..7400d194b56eee766db886413453d73b30b4e218 100644 |
--- a/Source/core/inspector/InspectorNodeIds.cpp |
+++ b/Source/core/inspector/InspectorNodeIds.cpp |
@@ -37,7 +37,7 @@ int InspectorNodeIds::idForNode(Node* node) |
if (it != nodeToIdMap().end()) |
return it->value; |
int id = s_nextNodeId++; |
- it->value = id; |
+ nodeToIdMap().set(node, id); |
ASSERT(idToNodeMap().find(id) == idToNodeMap().end()); |
idToNodeMap().set(id, node); |
return id; |