Closed
Bug 1182962
Opened 10 years ago
Closed 10 years ago
Use nsTHashTable::Iterator in gfx/
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
Details
Attachments
(3 files)
7.50 KB,
patch
|
jfkthame
:
review+
|
Details | Diff | Splinter Review |
8.22 KB,
patch
|
jfkthame
:
review+
|
Details | Diff | Splinter Review |
7.45 KB,
patch
|
jtd
:
review+
|
Details | Diff | Splinter Review |
Because iterators are so much nicer than enumerate functions.
There are fourteen occurrences of EnumerateEntries() in gfx/ to be dealt with.
Comment 1•10 years ago
|
||
All of which are in font-related code:
http://mxr.mozilla.org/mozilla-central/ident?i=EnumerateEntries&tree=mozilla-central&filter=gfx%2F*
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8633263 -
Flags: review?(jfkthame)
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8633264 -
Flags: review?(jfkthame)
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8633265 -
Flags: review?(jfkthame)
Updated•10 years ago
|
Attachment #8633263 -
Flags: review?(jfkthame) → review+
Updated•10 years ago
|
Attachment #8633264 -
Flags: review?(jfkthame) → review+
Comment 5•10 years ago
|
||
Comment on attachment 8633265 [details] [diff] [review]
(part 3) - Use nsTHashtable::Iterator in gfxPlatformFontList
Review of attachment 8633265 [details] [diff] [review]:
-----------------------------------------------------------------
I think this is fine, but I'm going to bounce it to jdaggett as I think he's currently much more familiar with this code than I am.
Attachment #8633265 -
Flags: review?(jfkthame) → review?(jdaggett)
Comment 6•10 years ago
|
||
Comment on attachment 8633265 [details] [diff] [review]
(part 3) - Use nsTHashtable::Iterator in gfxPlatformFontList
Review of attachment 8633265 [details] [diff] [review]:
-----------------------------------------------------------------
Wow, this makes the code so much easier to read... r+++
Attachment #8633265 -
Flags: review?(jdaggett) → review+
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e043784e6de8
https://hg.mozilla.org/mozilla-central/rev/900b78faf546
https://hg.mozilla.org/mozilla-central/rev/8948b9bf4c9d
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•