Closed
Bug 561150
Opened 15 years ago
Closed 15 years ago
GetAccessibleInWeakShell should return 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)
|
39.97 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #440822 -
Flags: review?(bolterbugz)
| Assignee | ||
Updated•15 years ago
|
Assignee: nobody → surkov.alexander
Status: NEW → ASSIGNED
Comment 1•15 years ago
|
||
Comment on attachment 440822 [details] [diff] [review]
patch
>--- a/accessible/src/base/nsDocAccessible.cpp
>+++ b/accessible/src/base/nsDocAccessible.cpp
>@@ -2124,18 +2124,20 @@ nsDocAccessible::GetAccessibleInParentCh
> break;
> }
>
> nsCOMPtr<nsIDOMNode> relevantNode;
> if (NS_SUCCEEDED(GetAccService()->GetRelevantContentNodeFor(currentNode, getter_AddRefs(relevantNode))) && relevantNode) {
> currentNode = relevantNode;
> }
> if (aCanCreate) {
>- GetAccService()->GetAccessibleInWeakShell(currentNode, mWeakShell,
>- aAccessible);
>+ nsRefPtr<nsAccessNode> acc =
>+ GetAccService()->GetAccessibleInWeakShell(currentNode, mWeakShell);
>+ if (acc)
>+ CallQueryInterface(acc, aAccessible);
I'm not sure why you create an nsAccessNode variable here?
| Assignee | ||
Comment 2•15 years ago
|
||
(In reply to comment #1)
> I'm not sure why you create an nsAccessNode variable here?
misspelling, not difference however, will fix it
Comment 3•15 years ago
|
||
Comment on attachment 440822 [details] [diff] [review]
patch
r=me then :)
Attachment #440822 -
Flags: review?(bolterbugz) → review+
| Assignee | ||
Comment 4•15 years ago
|
||
landed on 1.9.3 - http://hg.mozilla.org/mozilla-central/rev/4e008ffe35aa
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•