Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Unified Diff: Source/bindings/v8/V8PersistentValueMap.h

Issue 426243003: Merge 178780 "When overwriting a persistent handle, actually ove..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2062/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8PersistentValueMap.h
===================================================================
--- Source/bindings/v8/V8PersistentValueMap.h (revision 179236)
+++ Source/bindings/v8/V8PersistentValueMap.h (working copy)
@@ -65,7 +65,7 @@
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)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698