Bug 1261678 - fix wrong copy-pasted variable name in nsActivityManager.js::getProcessesByContext() (value => activity). r=jorgk
authoraceman <acelists@atlas.sk>
Sun, 03 Apr 2016 06:48:00 +0200
changeset 24754 ba30dd5df13d6c0ec3adb79f07b7a3bc4d9064a5
parent 24753 ea2aa3bf1ffa4a0a107d51747e26fcc7bdac9d01
child 24755 a49d57503fb2a6c3e1cfee98ba76c4efca7b83b6
push id1657
push userclokep@gmail.com
push dateMon, 06 Jun 2016 19:50:21 +0000
treeherdercomm-beta@9fac989284b5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1261678
Bug 1261678 - fix wrong copy-pasted variable name in nsActivityManager.js::getProcessesByContext() (value => activity). r=jorgk
mail/components/activity/nsActivityManager.js
--- a/mail/components/activity/nsActivityManager.js
+++ b/mail/components/activity/nsActivityManager.js
@@ -41,17 +41,17 @@ nsActivityManager.prototype = {
     }
 
     return count;
   },
 
   getProcessesByContext: function(aContextType, aContextObj, aCount) {
     let list = [];
     for (let id in this._activities) {
-      let value = this._activities[id];
+      let activity = this._activities[id];
       if (activity instanceof Ci.nsIActivityProcess &&
           activity.contextType == aContextType &&
           activity.contextObj == aContextObj) {
         list.push(activity);
       }
     }
 
     aCount.value = list.length;