Open Bug 743143 Opened 10 years ago Updated 4 years ago

its crazy to have a hash map from pointers to themselves

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

REOPENED

People

(Reporter: tbsaunde, Unassigned)

References

(Blocks 2 open bugs)

Details

nsDocAccessibles have mAccessibleCahce which maps a raw pointer to an accessible to a RefPtr to the same object.  This is a bit wasteful.
Trevor, pls list alternatives, pro and con, maybe some summary of our discussion on irc
Trevor ping.
Flags: needinfo?(tbsaunde+mozbugs)
i don't recall outcome of that discussion, but i guess we could use to nsTHashtable<nsRefHashKey<Accessible> >
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(tbsaunde+mozbugs)
Resolution: --- → WONTFIX
I still think it's reasonable to switch to nsTHashtable<nsRefHashKey<Accessible> > as long as we don't mess with MSAA's unique IDs, and it seems doable.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
You need to log in before you can comment on or make changes to this bug.