From 0065eeb20b51ccd8efbb4c8ea9da9c554f471c2c Mon Sep 17 00:00:00 2001 From: Asaf Romano Date: Sat, 2 Jun 2012 23:24:19 +0300 Subject: [PATCH] Bug 730340 - Fix typo found by neil, remove useless comments. --- browser/components/places/content/browserPlacesViews.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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 . @@ -1000,8 +998,6 @@ PlacesToolbar.prototype = { function (aStatus, aLivemark) { if (Components.isSuccessCode(aStatus)) { button.setAttribute("livemark", "true"); - // Set an expando on the node, controller will use it to build - // its metadata. this.controller.cacheLivemarkInfo(aChild, aLivemark); } }.bind(this) @@ -1252,8 +1248,6 @@ PlacesToolbar.prototype = { { id: aPlacesNode.itemId }, function (aStatus, aLivemark) { if (Components.isSuccessCode(aStatus)) { - // Set an expando on the node, controller will use it to build - // its metadata. this.controller.cacheLivemarkInfo(aPlacesNode, aLivemark); this.invalidateContainer(aPlacesNode); }