mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
Fixing bustage
This commit is contained in:
parent
907b9a5d54
commit
7e684f576e
@ -274,7 +274,7 @@ NS_IMETHODIMP nsAccessibleWrap::GetNativeInterface(void **aOutAccessible)
|
||||
{
|
||||
*aOutAccessible = nsnull;
|
||||
|
||||
if (HasRole(this, ROLE_TEXT_LEAF)) {
|
||||
if (Role(this) == ROLE_TEXT_LEAF) {
|
||||
// We don't create ATK objects for nsIAccessible plain text leaves
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user