Closed
Bug 1186786
Opened 9 years ago
Closed 9 years ago
Replace nsBaseHashtable::EnumerateRead() calls in accessible/ with iterators
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
Details
Attachments
(1 file)
11.12 KB,
patch
|
tbsaunde
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1186785 +++ 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 | ||
Comment 1•9 years ago
|
||
I added a comment about the unusual nature of DocManager::ClearDocCache(). Please let me know if I misunderstood how it works.
Attachment #8675977 -
Flags: review?(tbsaunde+mozbugs)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
Comment 2•9 years ago
|
||
Comment on attachment 8675977 [details] [diff] [review] Replace nsBaseHashtable::EnumerateRead() calls in accessible/ with iterators I guess it may be possible to cleanup the document shutdown handling and maybe some of the null checking, but this all seems correct. sorry about the lag.
Attachment #8675977 -
Flags: review?(tbsaunde+mozbugs) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9a1e89df904b953006be78880dbe99ad262c5d6a Bug 1186786 - Replace nsBaseHashtable::EnumerateRead() calls in accessible/ with iterators. r=tbsaunde.
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9a1e89df904b
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•