зеркало из https://github.com/mozilla/gecko-dev.git
One line regression fix for bug 79900. the fix for 80505 caused this.
Change from a QI to a GetAccessible() call on content nodes. r=dr@netscape.com sr=scc@mozilla.org
This commit is contained in:
Родитель
e5f3c3cd03
Коммит
b47a889fee
|
@ -233,7 +233,8 @@ NS_IMETHODIMP nsRootAccessible::HandleEvent(nsIDOMEvent* aEvent)
|
|||
if (!frame)
|
||||
return NS_OK;
|
||||
|
||||
nsCOMPtr<nsIAccessible> a(do_QueryInterface(frame));
|
||||
nsCOMPtr<nsIAccessible> a;
|
||||
frame->GetAccessible(getter_AddRefs(a));
|
||||
if (!a)
|
||||
a = do_QueryInterface(content);
|
||||
|
||||
|
|
|
@ -233,7 +233,8 @@ NS_IMETHODIMP nsRootAccessible::HandleEvent(nsIDOMEvent* aEvent)
|
|||
if (!frame)
|
||||
return NS_OK;
|
||||
|
||||
nsCOMPtr<nsIAccessible> a(do_QueryInterface(frame));
|
||||
nsCOMPtr<nsIAccessible> a;
|
||||
frame->GetAccessible(getter_AddRefs(a));
|
||||
if (!a)
|
||||
a = do_QueryInterface(content);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче