mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1170595 - always use IdToAccessible to convert ids to accessibles r=lsocks
This commit is contained in:
parent
2a4ccf90aa
commit
1ca2b86b2d
@ -225,7 +225,7 @@ DocAccessibleChild::RecvRelationByType(const uint64_t& aID,
|
||||
const uint32_t& aType,
|
||||
nsTArray<uint64_t>* aTargets)
|
||||
{
|
||||
Accessible* acc = mDoc->GetAccessibleByUniqueID((void*)aID);
|
||||
Accessible* acc = IdToAccessible(aID);
|
||||
if (!acc)
|
||||
return true;
|
||||
|
||||
@ -258,7 +258,7 @@ bool
|
||||
DocAccessibleChild::RecvRelations(const uint64_t& aID,
|
||||
nsTArray<RelationTargets>* aRelations)
|
||||
{
|
||||
Accessible* acc = mDoc->GetAccessibleByUniqueID((void*)aID);
|
||||
Accessible* acc = IdToAccessible(aID);
|
||||
if (!acc)
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user