Index: src/object-observe.js |
diff --git a/src/object-observe.js b/src/object-observe.js |
index 1c147d95e30f9e82d45797d500b2d32bb198b064..a5c12bf0098b41abffa5101b0e20e8ccec52b241 100644 |
--- a/src/object-observe.js |
+++ b/src/object-observe.js |
@@ -44,12 +44,12 @@ ObservationWeakMap.prototype = { |
get: function(key) { |
key = %UnwrapGlobalProxy(key); |
if (!IS_SPEC_OBJECT(key)) return void 0; |
- return %WeakMapGet(this.map_, key); |
+ return %WeakCollectionGet(this.map_, key); |
}, |
set: function(key, value) { |
key = %UnwrapGlobalProxy(key); |
if (!IS_SPEC_OBJECT(key)) return void 0; |
- %WeakMapSet(this.map_, key, value); |
+ %WeakCollectionSet(this.map_, key, value); |
}, |
has: function(key) { |
return !IS_UNDEFINED(this.get(key)); |