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;
|
||||
}
|
||||
|
||||
//nsIAccessibleDocument
|
||||
nsCOMPtr<nsIAccessibleDocument> accessInterfaceDocument;
|
||||
QueryInterface(NS_GET_IID(nsIAccessibleDocument),
|
||||
getter_AddRefs(accessInterfaceDocument));
|
||||
if (accessInterfaceDocument) {
|
||||
// document accessible
|
||||
if (IsDoc())
|
||||
interfacesBits |= 1 << MAI_INTERFACE_DOCUMENT;
|
||||
}
|
||||
|
||||
if (IsImageAccessible())
|
||||
interfacesBits |= 1 << MAI_INTERFACE_IMAGE;
|
||||
|
Loading…
Reference in New Issue
Block a user