Closed
Bug 570405
Opened 13 years ago
Closed 13 years ago
nsAccEvent should deal with nsAccessible
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
People
(Reporter: surkov, Assigned: surkov)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(1 file, 1 obsolete file)
32.38 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #449526 -
Flags: review?(bolterbugz)
Assignee | ||
Comment 2•13 years ago
|
||
fix failure on linux
Attachment #449526 -
Attachment is obsolete: true
Attachment #449527 -
Flags: review?(bolterbugz)
Attachment #449526 -
Flags: review?(bolterbugz)
Comment 3•13 years ago
|
||
Comment on attachment 449527 [details] [diff] [review] patch2 r=me with comment (optional nits): >+nsAccessible * >+nsAccEvent::GetAccessible() >+{ >+ if (!mAccessible) >+ mAccessible = GetAccessibleByNode(); >+ >+ return mAccessible; >+} >+ > nsINode* > nsAccEvent::GetNode() > { >- if (!mNode) { >- nsRefPtr<nsAccessNode> accessNode(do_QueryObject(mAccessible)); >- if (accessNode) >- mNode = accessNode->GetNode(); >- } >+ if (!mNode && mAccessible) >+ mNode = mAccessible->GetNode(); > > return mNode; > } For these you could just do: return foo ? foo : bar->GetFoo();
Attachment #449527 -
Flags: review?(bolterbugz) → review+
Assignee | ||
Comment 4•13 years ago
|
||
landed on 1.9.3 - http://hg.mozilla.org/mozilla-central/rev/28a9850ae772
Assignee | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•