Index: Source/bindings/core/v8/V8PersistentValueMap.h |
diff --git a/Source/bindings/core/v8/V8PersistentValueMap.h b/Source/bindings/core/v8/V8PersistentValueMap.h |
index 636da2228e2483c8c1379794066ac334e021e59a..12d9579528de9aef10b6986473970e4198d08495 100644 |
--- a/Source/bindings/core/v8/V8PersistentValueMap.h |
+++ b/Source/bindings/core/v8/V8PersistentValueMap.h |
@@ -65,7 +65,7 @@ public: |
Impl* impl, KeyType key, v8::PersistentContainerValue value) |
{ |
v8::PersistentContainerValue oldValue = Get(impl, key); |
- impl->add(key, value); |
+ impl->set(key, value); |
return oldValue; |
} |
static v8::PersistentContainerValue Get(const Impl* impl, KeyType key) |