Closed
Bug 1182979
Opened 9 years ago
Closed 9 years ago
Use nsTHashTable::Iterator in dom/{plugins,media}/
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: poiru)
References
Details
Attachments
(4 files, 1 obsolete file)
2.33 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
1.96 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
1.83 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
3.58 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
Because iterators are so much nicer than enumerate functions. There are seven occurrences of EnumerateEntries() in dom/{plugins,media}/ to be dealt with.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → birunthan
Status: NEW → ASSIGNED
Reporter | ||
Comment 1•9 years ago
|
||
ehsan, please note that poiru already assigned this one to himself. Hopefully he hasn't already done the the WebAudio changes. We don't want to waste time doing work multiple times. Thanks!
Flags: needinfo?(ehsan)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8634799 -
Flags: review?(jmathies)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8634800 -
Flags: review?(jmathies)
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8634802 -
Flags: review?(cpearce)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8634804 -
Flags: review?(cpearce)
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to Nicholas Nethercote [:njn] from comment #1) > ehsan, please note that poiru already assigned this one to himself. > Hopefully he hasn't already done the the WebAudio changes. I didn't so clearing Ehsan's ni?.
Flags: needinfo?(ehsan)
Comment 7•9 years ago
|
||
Comment on attachment 8634799 [details] [diff] [review] Part 1: Use nsTHashtable::Iterator in PluginInstanceChild Review of attachment 8634799 [details] [diff] [review]: ----------------------------------------------------------------- I'd like to see this code moved into a helper we call from here similar to the enumerate calls. ::: dom/plugins/ipc/PluginInstanceChild.cpp @@ +3980,5 @@ > + NPObject* o = e->GetKey(); > + if (!e->mDeleted) { > + e->mDeleted = true; > + > + #ifdef NS_BUILD_REFCNT_LOGGING nit - this shouldn't be indented like this.
Attachment #8634799 -
Flags: review?(jmathies) → review-
Updated•9 years ago
|
Attachment #8634800 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8634818 -
Flags: review?(jmathies)
Assignee | ||
Updated•9 years ago
|
Attachment #8634799 -
Attachment is obsolete: true
Comment 9•9 years ago
|
||
Comment on attachment 8634818 [details] [diff] [review] Part 1: Use nsTHashtable::Iterator in PluginInstanceChild Review of attachment 8634818 [details] [diff] [review]: ----------------------------------------------------------------- Thank you!
Attachment #8634818 -
Flags: review?(jmathies) → review+
Comment 10•9 years ago
|
||
Comment on attachment 8634802 [details] [diff] [review] Part 3: Use nsTHashtable::Iterator in GMPTimerParent Review of attachment 8634802 [details] [diff] [review]: ----------------------------------------------------------------- There are insufficient letters in the word "nice" to adequately express how much nicer this is. Nice!
Attachment #8634802 -
Flags: review?(cpearce) → review+
Updated•9 years ago
|
Attachment #8634804 -
Flags: review?(cpearce) → review+
Reporter | ||
Comment 11•9 years ago
|
||
niiiiiiiiiiiiiiiiice
Comment 12•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9755f46ef61d https://hg.mozilla.org/integration/mozilla-inbound/rev/3bcdfe1b266e https://hg.mozilla.org/integration/mozilla-inbound/rev/76f11db99d95 https://hg.mozilla.org/integration/mozilla-inbound/rev/b6462de549bd
https://hg.mozilla.org/mozilla-central/rev/9755f46ef61d https://hg.mozilla.org/mozilla-central/rev/3bcdfe1b266e https://hg.mozilla.org/mozilla-central/rev/76f11db99d95 https://hg.mozilla.org/mozilla-central/rev/b6462de549bd
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
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
•