Closed Bug 1187149 Opened 9 years ago Closed 9 years ago

Replace nsBaseHashtable::Enumerate() calls in image/ with iterators

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: n.nethercote, Assigned: sotaro)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

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 → sotaro.ikeda.g
Whiteboard: [gfx-noted]
Attachment #8685308 - Flags: review?(n.nethercote)
Attachment #8685308 - Flags: review?(n.nethercote) → review+
https://hg.mozilla.org/mozilla-central/rev/7697a472772a
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: