Bug 1182046 - undeclared variables in nsLivemarkService.js. r=ttaubert, a=ritu
authorMarco Bonardo <mbonardo@mozilla.com>
Mon, 07 Sep 2015 23:07:22 +0200
changeset 277567 f5dd5cd1f96f307d2d38e5dfa88c186066265619
parent 277566 01fe675a1e34dd4701e85af5579e178443650603
child 277568 3e0e14fd2f2c531a7b5d99f6d5204f8a28607e0f
push id8403
push usercbook@mozilla.com
push dateWed, 09 Sep 2015 12:33:13 +0000
treeherdermozilla-aurora@f5dd5cd1f96f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersttaubert, ritu
bugs1182046
milestone42.0a2
Bug 1182046 - undeclared variables in nsLivemarkService.js. r=ttaubert, a=ritu
toolkit/components/places/nsLivemarkService.js
--- a/toolkit/components/places/nsLivemarkService.js
+++ b/toolkit/components/places/nsLivemarkService.js
@@ -647,18 +647,18 @@ Livemark.prototype = {
       }
     }
 
     for (let [ container, observer ] of this._resultObservers) {
       if (this._nodes.has(container)) {
         let nodes = this._nodes.get(container);
         for (let node of nodes) {
           // Workaround for bug 449811.
-          localObserver = observer;
-          localNode = node;
+          let localObserver = observer;
+          let localNode = node;
           if (!aURI || node.uri == aURI.spec) {
             Services.tm.mainThread.dispatch(() => {
               localObserver.nodeHistoryDetailsChanged(localNode, 0, aVisitedStatus);
             }, Ci.nsIThread.DISPATCH_NORMAL);
           }
         }
       }
     }