mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1243077 - support proxied accessibles in xpcAccessible::GetRole() r=davidb
This commit is contained in:
parent
2756d3cc25
commit
316224a8fa
@ -204,10 +204,10 @@ xpcAccessible::GetRole(uint32_t* aRole)
|
|||||||
NS_ENSURE_ARG_POINTER(aRole);
|
NS_ENSURE_ARG_POINTER(aRole);
|
||||||
*aRole = nsIAccessibleRole::ROLE_NOTHING;
|
*aRole = nsIAccessibleRole::ROLE_NOTHING;
|
||||||
|
|
||||||
if (!Intl())
|
if (IntlGeneric().IsNull())
|
||||||
return NS_ERROR_FAILURE;
|
return NS_ERROR_FAILURE;
|
||||||
|
|
||||||
*aRole = Intl()->Role();
|
*aRole = IntlGeneric().Role();
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user