Closed
Bug 1186808
Opened 9 years ago
Closed 9 years ago
Replace nsBaseHashtable::EnumerateRead() calls in dom/camera/ with iterators
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
Details
Attachments
(1 file, 1 obsolete file)
7.58 KB,
patch
|
aosmond
:
review+
|
Details | Diff | Splinter Review |
Because iterators are so much nicer than enumerate functions. There are three 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 | ||
Comment 1•9 years ago
|
||
Attachment #8686859 -
Flags: review?(bugzilla)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•9 years ago
|
||
Fixed two small compile errors.
Attachment #8686964 -
Flags: review?(bugzilla)
Assignee | ||
Updated•9 years ago
|
Attachment #8686859 -
Attachment is obsolete: true
Attachment #8686859 -
Flags: review?(bugzilla)
Assignee | ||
Comment 3•9 years ago
|
||
Try looks good: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7acc8d4f8842
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8686964 [details] [diff] [review] Replace nsBaseHashtable::EnumerateRead() calls in dom/camera/ with iterators Review of attachment 8686964 [details] [diff] [review]: ----------------------------------------------------------------- Let's try a different reviewer.
Attachment #8686964 -
Flags: review?(bugzilla) → review?(aosmond)
Comment 5•9 years ago
|
||
Comment on attachment 8686964 [details] [diff] [review] Replace nsBaseHashtable::EnumerateRead() calls in dom/camera/ with iterators LGTM. Much simpler :).
Attachment #8686964 -
Flags: review?(aosmond) → review+
Assignee | ||
Comment 6•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/58c11f8db0b1e70cdc941c79ddf216e6436a8afe Bug 1186808 - Replace nsBaseHashtable::EnumerateRead() calls in dom/camera/ with iterators. r=mikeh.
Comment 7•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/58c11f8db0b1
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•