diff --git a/browser/components/places/content/browserPlacesViews.js b/browser/components/places/content/browserPlacesViews.js index ee6e284116ca..22072316c1b9 100644 --- a/browser/components/places/content/browserPlacesViews.js +++ b/browser/components/places/content/browserPlacesViews.js @@ -313,8 +313,6 @@ PlacesViewBase.prototype = { element.setAttribute("image", ""); element.removeAttribute("image"); #endif - // Set an expando on the node, controller will use it to build - // its metadata. this.controller.cacheLivemarkInfo(aPlacesNode, aLivemark); } }.bind(this) @@ -530,7 +528,7 @@ PlacesViewBase.prototype = { nodeRemoved: function PVB_nodeRemoved(aParentPlacesNode, aPlacesNode, aIndex) { - let parentElt = this._getDOMNodeForPlacesNode(aPlacesNode); + let parentElt = this._getDOMNodeForPlacesNode(aParentPlacesNode); let elt = this._getDOMNodeForPlacesNode(aPlacesNode); // Here we need the