Status

()

defect
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: ted, Assigned: ted)

Tracking

Trunk
mozilla12
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

I wound up needing this for my gamepad patches, since I'm hanging on to nsGlobalWindow* directly instead of using interfaces.
Blocks: 604039
We don't seem to have comprehensive tests on the hashtable stuff, but I'd be happy to add tests for this to TestHashtables.cpp if you'd like.
Attachment #578014 - Flags: review?(benjamin)

Comment 2

8 years ago
Comment on attachment 578014 [details] [diff] [review]
Add nsRefPtrHashKey

Could we just typedef nsRefPtrHashKey<nsISupports> nsISupportsHashKey? Probably doesn't matter though.
Attachment #578014 - Flags: review?(benjamin) → review+
We'd lose comptr logging on hash keys then.  Whether or not people actually care about that, idk.
https://hg.mozilla.org/mozilla-central/rev/043724be2771
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
You need to log in before you can comment on or make changes to this bug.