Skip to content

Commit

Permalink
Merge pull request mozilla#2417 from luser/fix-weak-map-keys
Browse files Browse the repository at this point in the history
Use ThreadSafeChromeUtils.nondeterministicGetWeakMapKeys. Fixes mozilla#2416.
  • Loading branch information
tschneidereit committed Mar 29, 2016
2 parents a72358c + 67cc034 commit 16451d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/firefox/chrome/ShumwayCom.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 16451d8

Please sign in to comment.