Bug 1207311 - No need for \!nsAccUtils::MustPrune(acc) in DocAccessibleChild::RecvExtents, r=tbsaunde

This commit is contained in:
Olli Pettay 2015-09-23 01:45:27 +03:00
parent 966a34c2af
commit d48487fe29

View File

@ -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) {