mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1162434 part 2 - Fix ISimpleDOMNode Unique ID on 64 bit systems, r=surkov
This commit is contained in:
parent
1b1918b35e
commit
c7fe779f63
@ -106,8 +106,11 @@ sdnAccessible::get_nodeInfo(BSTR __RPC_FAR* aNodeName,
|
||||
// focus events, to correlate back to data nodes in their internal object
|
||||
// model.
|
||||
Accessible* accessible = GetAccessible();
|
||||
*aUniqueID = - NS_PTR_TO_INT32(accessible ? accessible->UniqueID() :
|
||||
static_cast<void*>(this));
|
||||
if (accessible) {
|
||||
*aUniqueID = AccessibleWrap::GetChildIDFor(accessible);
|
||||
} else {
|
||||
*aUniqueID = - NS_PTR_TO_INT32(static_cast<void*>(this));
|
||||
}
|
||||
|
||||
*aNumChildren = mNode->GetChildCount();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user