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
parent cf936d0aa4
commit 2146353d2f

View File

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