mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
Bug 1217981 - Part 3: Remove for-each from testing/. r=bsmedberg
--HG-- extra : commitid : 5Rg3bKaa3DD extra : rebase_source : 37c6b8abd3a3e2dd97e7a8e7e790ea206bcc0d93
This commit is contained in:
parent
051a557fe5
commit
c6e4cfbbbd
@ -105,7 +105,8 @@ CCAnalyzer.prototype = {
|
||||
|
||||
find: function (aText) {
|
||||
let result = [];
|
||||
for each (let o in this.graph) {
|
||||
for (let address in this.graph) {
|
||||
let o = this.graph[address];
|
||||
if (!o.garbage && o.name.indexOf(aText) >= 0)
|
||||
result.push(o);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user