diff options
Diffstat (limited to 'common/modules/storage.jsm')
-rw-r--r-- | common/modules/storage.jsm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/modules/storage.jsm b/common/modules/storage.jsm index ebc7e4fd..803cb00a 100644 --- a/common/modules/storage.jsm +++ b/common/modules/storage.jsm @@ -214,7 +214,7 @@ var Storage = Module("Storage", { if (ref) { let refs = overlay.getData(ref, "storage-refs"); refs.push(callback); - var callbackRef = Cu.getWeakReference(callback); + var callbackRef = util.weakReference(callback); } else { callbackRef = { get: function () callback }; |