Closed Bug 1205351 Opened 9 years ago Closed 9 years ago

Replace nsBaseHashtable::Enumerate() calls in dom/media/ with iterators

Categories

(Core :: Audio/Video: Playback, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #1186813 +++

Because iterators are so much nicer than enumerate functions.

There are nine occurrences 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 → sotaro.ikeda.g
Attachment #8662016 - Flags: review?(cpearce)
Attachment #8662016 - Flags: review?(cpearce) → review+
Component: Audio/Video → Audio/Video: Playback
https://hg.mozilla.org/mozilla-central/rev/c64634725cac
Status: NEW → 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: