Closed Bug 1187146 Opened 6 years ago Closed 6 years ago
Base Hashtable::Enumerate() calls in js/xpconnect/ with iterators
Because iterators are so much nicer than enumerate functions. There is one occurrence of Enumerate() in this directory. A note to the assignee: to preserve existing behaviour, you should probably use nsBaseHashtable::Iterator::Data() rather than nsBaseHashtable::Iterator::UserData(). (The latter should be used when replacing nsBaseHashtable::EnumerateRead()).
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
Attachment #8690639 - Flags: review?(mrbkap) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/e7b4f2039cd182e7fc9ef58b6c8c39306febf45a Bug 1187146 - Replace nsBaseHashtable::Enumerate() calls in js/xpconnect/ with iterators. r=mrbkap.
You need to log in before you can comment on or make changes to this bug.