Closed Bug 1261439 Opened 9 years ago Closed 9 years ago

replace nsAccUtils::IsEmbeddedObject on a bit flag check

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: surkov, Assigned: surkov)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
calling Role() for every inserted/created accessible is not something we should do
Attachment #8737304 - Flags: review?(mzehe)
Comment on attachment 8737304 [details] [diff] [review] patch r=me, this looks like a great optimization. But the following nit is definitely something I'd like to see fixed: >diff --git a/accessible/base/TextRange.cpp b/accessible/base/TextRange.cpp >- if (nsAccUtils::IsEmbeddedObject(next)) >+ if (!next->IsText()) > aChildren->AppendElement(next); You set all the other checks in this file in braces, please do it with this one, too, for consistency. It just feels wrong to leave this one out. ;) Thanks!
Attachment #8737304 - Flags: review?(mzehe) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Assignee: nobody → surkov.alexander
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: