mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 717683 - remove unneeded QI to nsIAccessibleDocument r=davidb
This commit is contained in:
parent
74c96b3bf3
commit
0d0d4701f7
@ -441,13 +441,9 @@ nsAccessibleWrap::CreateMaiInterfaces(void)
|
|||||||
interfacesBits |= 1 << MAI_INTERFACE_VALUE;
|
interfacesBits |= 1 << MAI_INTERFACE_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
//nsIAccessibleDocument
|
// document accessible
|
||||||
nsCOMPtr<nsIAccessibleDocument> accessInterfaceDocument;
|
if (IsDoc())
|
||||||
QueryInterface(NS_GET_IID(nsIAccessibleDocument),
|
|
||||||
getter_AddRefs(accessInterfaceDocument));
|
|
||||||
if (accessInterfaceDocument) {
|
|
||||||
interfacesBits |= 1 << MAI_INTERFACE_DOCUMENT;
|
interfacesBits |= 1 << MAI_INTERFACE_DOCUMENT;
|
||||||
}
|
|
||||||
|
|
||||||
if (IsImageAccessible())
|
if (IsImageAccessible())
|
||||||
interfacesBits |= 1 << MAI_INTERFACE_IMAGE;
|
interfacesBits |= 1 << MAI_INTERFACE_IMAGE;
|
||||||
|
Loading…
Reference in New Issue
Block a user