Closed
Bug 1251941
Opened 8 years ago
Closed 8 years ago
aria::GetRoleMap should take element
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: surkov, Assigned: surkov)
Details
Attachments
(1 file)
13.00 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
a small clean up as we go
Attachment #8724550 -
Flags: review?(dbolter)
Updated•8 years ago
|
Assignee: nobody → surkov.alexander
Comment 1•8 years ago
|
||
Comment on attachment 8724550 [details] [diff] [review] patch Review of attachment 8724550 [details] [diff] [review]: ----------------------------------------------------------------- ::: accessible/base/nsCoreUtils.cpp @@ +241,5 @@ > } > } > } > > + return content && content->IsElement() ? content->AsElement() : nullptr; nit: for easy readability can we put () around the && condition?
Attachment #8724550 -
Flags: review?(dbolter) → review+
Assignee | ||
Comment 2•8 years ago
|
||
(In reply to David Bolter [:davidb] from comment #1) > > + return content && content->IsElement() ? content->AsElement() : nullptr; > > nit: for easy readability can we put () around the && condition? next patch this method will go away, however in general I like "a ? b : c" syntax, when expressions are short
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to alexander :surkov from comment #2) > (In reply to David Bolter [:davidb] from comment #1) > > > > + return content && content->IsElement() ? content->AsElement() : nullptr; > > > > nit: for easy readability can we put () around the && condition? > > next patch this method will go away, however in general I like "a ? b : c" > syntax, when expressions are short but yes, I would
Assignee | ||
Comment 4•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/78d20ae3f50ebe4ce416bbf788a55d7b3050931d Bug 1251941 - aria::GetRoleMap should take element, r=davidb
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/78d20ae3f50e
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•