mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1207311 - No need for \!nsAccUtils::MustPrune(acc) in DocAccessibleChild::RecvExtents, r=tbsaunde
This commit is contained in:
parent
966a34c2af
commit
d48487fe29
@ -1918,7 +1918,7 @@ DocAccessibleChild::RecvExtents(const uint64_t& aID,
|
|||||||
*aWidth = 0;
|
*aWidth = 0;
|
||||||
*aHeight = 0;
|
*aHeight = 0;
|
||||||
Accessible* acc = IdToAccessible(aID);
|
Accessible* acc = IdToAccessible(aID);
|
||||||
if (acc && !acc->IsDefunct() && !nsAccUtils::MustPrune(acc)) {
|
if (acc && !acc->IsDefunct()) {
|
||||||
nsIntRect screenRect = acc->Bounds();
|
nsIntRect screenRect = acc->Bounds();
|
||||||
if (!screenRect.IsEmpty()) {
|
if (!screenRect.IsEmpty()) {
|
||||||
if (aNeedsScreenCoords) {
|
if (aNeedsScreenCoords) {
|
||||||
|
Loading…
Reference in New Issue
Block a user