Closed Bug 760774 Opened 14 years ago Closed 14 years ago

switch ARIA role map to atoms

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: surkov, Assigned: surkov)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch patch — — Splinter Review
No description provided.
Attachment #629454 - Flags: superreview?(neil)
Attachment #629454 - Flags: review?(trev.saunders)
Comment on attachment 629454 [details] [diff] [review] patch I'm not sure if the change to atoms will have a good or bad effect on perf for GetOrCreateAccessible() since on one hand no more convertion from utf16 to ascii, on the other we probably hurt locality some. However I think if we find it matters we should replace binary search on special logic that knows the possible options.
Attachment #629454 - Flags: review?(trev.saunders) → review+
Neil, could you check strings code please?
Comment on attachment 629454 [details] [diff] [review] patch >+ const nsDependentString ARIARoleString() const >+ { return nsDependentAtomString(*roleAtom); } Need to make the type of this function nsDependentAtomString too so that the compiler can perform RVO on it.
Attachment #629454 - Flags: superreview?(neil) → superreview+
Assignee: nobody → surkov.alexander
Flags: in-testsuite+
Target Milestone: --- → mozilla16
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: