Closed Bug 1186815 Opened 9 years ago Closed 9 years ago

Replace nsBaseHashtable::EnumerateRead() calls in modules/libjar/ with iterators

Categories

(Core :: Networking: JAR, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

References

Details

Attachments

(2 files, 4 obsolete files)

Because iterators are so much nicer than enumerate functions.

There are four occurrences of EnumerateRead() in this directory.

A note to the assignee: to preserve existing behaviour, you should probably use
nsBaseHashtable::Iterator::UserData() rather than nsBaseHashtable::Iterator::Data(). (The latter should be used when replacing nsBaseHashtable::Enumerate()).
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
Fixed the log message to refer to the right directory.
Attachment #8679191 - Flags: review?(mwu)
Attachment #8679175 - Attachment is obsolete: true
Attachment #8679175 - Flags: review?(mwu)
Attachment #8679180 - Attachment is obsolete: true
Attachment #8679180 - Flags: review?(mwu)
Comment on attachment 8679259 [details] [diff] [review]
(part 1) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators

(uploaded patch to the wrong bug)
Attachment #8679259 - Attachment is obsolete: true
Attachment #8679259 - Flags: review?(n.nethercote)
Comment on attachment 8679260 [details] [diff] [review]
(part 2) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators

(uploaded patch to the wrong bug)
Attachment #8679260 - Attachment is obsolete: true
Attachment #8679260 - Flags: review?(khuey)
Attachment #8679191 - Flags: review?(mwu) → review+
Attachment #8679192 - Flags: review?(mwu) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/ff0e32d96b6c01cafc6ebf2bb68772b0fceaa3a1
Bug 1186815 (part 1) - Replace nsBaseHashtable::Enumerate() calls in modules/libjar/ with iterators. r=mwu.

https://hg.mozilla.org/integration/mozilla-inbound/rev/e903447ff321014cca5a95ef4aff6b84c318fa0b
Bug 1186815 (part 2) - Replace nsBaseHashtable::Enumerate() calls in modules/libjar/ with iterators. r=mwu.
https://hg.mozilla.org/mozilla-central/rev/ff0e32d96b6c
https://hg.mozilla.org/mozilla-central/rev/e903447ff321
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: