mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1208779 - null check aAccessible in GetChildIDFor() for 32 bit as well as 64 bit windows r=davidb
This commit is contained in:
parent
7c860300da
commit
5a43bdeeec
@ -1294,8 +1294,12 @@ AccessibleWrap::GetChildIDFor(Accessible* aAccessible)
|
||||
// so that the 3rd party application can call back and get the IAccessible
|
||||
// the event occurred on.
|
||||
|
||||
if (!aAccessible) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef _WIN64
|
||||
if (!aAccessible || (!aAccessible->Document() && !aAccessible->IsProxy()))
|
||||
if (!aAccessible->Document() && !aAccessible->IsProxy())
|
||||
return 0;
|
||||
|
||||
uint32_t* id = & static_cast<AccessibleWrap*>(aAccessible)->mID;
|
||||
|
Loading…
Reference in New Issue
Block a user