mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
Fix type from last checkin for bug 341747
This commit is contained in:
parent
93dd71aa91
commit
191ba1b3f2
@ -459,7 +459,7 @@ STDMETHODIMP nsAccessibleWrap::get_accRole(
|
|||||||
NS_ASSERTION(content, "No content for accessible");
|
NS_ASSERTION(content, "No content for accessible");
|
||||||
if (content && content->IsNodeOfType(nsINode::eELEMENT)) {
|
if (content && content->IsNodeOfType(nsINode::eELEMENT)) {
|
||||||
nsAutoString roleString;
|
nsAutoString roleString;
|
||||||
if (msaaRole != ROLE_CLIENT && GetRoleAttribute(content, roleString)) {
|
if (msaaRole != ROLE_SYSTEM_CLIENT && !GetRoleAttribute(content, roleString)) {
|
||||||
nsINodeInfo *nodeInfo = content->NodeInfo();
|
nsINodeInfo *nodeInfo = content->NodeInfo();
|
||||||
nodeInfo->GetName(roleString);
|
nodeInfo->GetName(roleString);
|
||||||
nsAutoString nameSpaceURI;
|
nsAutoString nameSpaceURI;
|
||||||
|
Loading…
Reference in New Issue
Block a user