Bug 760940 - Bookmarks and history menus behave incorrectly due to non-node weak map keys. r=mak

This commit is contained in:
Asaf Romano
2012-07-24 17:20:57 +03:00
parent ced69e0e89
commit 087345b066
4 changed files with 20 additions and 11 deletions

View File

@@ -80,7 +80,7 @@ function PlacesController(aView) {
return Services.dirsvc.get("ProfD", Ci.nsIFile).leafName;
});
this._cachedLivemarkInfoObjects = new WeakMap();
this._cachedLivemarkInfoObjects = new Map();
}
PlacesController.prototype = {