mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
bug 1170595 - always use IdToAccessible to convert ids to accessibles r=lsocks
This commit is contained in:
parent
e140eb2cf9
commit
ea5b8a7bb2
@ -225,7 +225,7 @@ DocAccessibleChild::RecvRelationByType(const uint64_t& aID,
|
|||||||
const uint32_t& aType,
|
const uint32_t& aType,
|
||||||
nsTArray<uint64_t>* aTargets)
|
nsTArray<uint64_t>* aTargets)
|
||||||
{
|
{
|
||||||
Accessible* acc = mDoc->GetAccessibleByUniqueID((void*)aID);
|
Accessible* acc = IdToAccessible(aID);
|
||||||
if (!acc)
|
if (!acc)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
@ -258,7 +258,7 @@ bool
|
|||||||
DocAccessibleChild::RecvRelations(const uint64_t& aID,
|
DocAccessibleChild::RecvRelations(const uint64_t& aID,
|
||||||
nsTArray<RelationTargets>* aRelations)
|
nsTArray<RelationTargets>* aRelations)
|
||||||
{
|
{
|
||||||
Accessible* acc = mDoc->GetAccessibleByUniqueID((void*)aID);
|
Accessible* acc = IdToAccessible(aID);
|
||||||
if (!acc)
|
if (!acc)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user