I mistyped one of surkov's review comments for bug 436453. (And the code does finally make sense to me.) This apparently fixes some mochitests that, for some reason, aren't run on tinderbox.

This commit is contained in:
L. David Baron 2008-07-23 09:35:38 -07:00
Родитель 77e2137a9c
Коммит 862226d219
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -794,7 +794,7 @@ nsAccUtils::FindNeighbourPointingToNode(nsIContent *aForNode,
{
nsAutoString controlID;
if (!nsAccUtils::GetID(aForNode, controlID)) {
if (aForNode->IsInAnonymousSubtree())
if (!aForNode->IsInAnonymousSubtree())
return nsnull;
aForNode->GetAttr(kNameSpaceID_None, nsAccessibilityAtoms::anonid, controlID);