Permalink
Browse files

Merge pull request #2417 from luser/fix-weak-map-keys

Use ThreadSafeChromeUtils.nondeterministicGetWeakMapKeys. Fixes #2416.
  • Loading branch information...
2 parents a72358c + 67cc034 commit 16451d8836fa85f4b16eeda8b4bda2fa9e2b22b0 @tschneidereit tschneidereit committed Mar 29, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 extension/firefox/chrome/ShumwayCom.jsm
@@ -349,7 +349,7 @@ var ShumwayCom = {
},
getWeakMapKeys: function (weakMap) {
- var keys = Components.utils.nondeterministicGetWeakMapKeys(weakMap);
+ var keys = ThreadSafeChromeUtils.nondeterministicGetWeakMapKeys(weakMap);
var result = new content.Array();
keys.forEach(function (key) {
result.push(key);

0 comments on commit 16451d8

Please sign in to comment.