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
28bbcd69bd
commit
90b6b65702
@ -204,10 +204,10 @@ xpcAccessible::GetRole(uint32_t* aRole)
|
||||
NS_ENSURE_ARG_POINTER(aRole);
|
||||
*aRole = nsIAccessibleRole::ROLE_NOTHING;
|
||||
|
||||
if (!Intl())
|
||||
if (IntlGeneric().IsNull())
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
*aRole = Intl()->Role();
|
||||
*aRole = IntlGeneric().Role();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user