Bug 402908. Hang in GetNextState() when parent has single child. r=evan.yan, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@239080 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2931,7 +2931,8 @@ nsAccessible::GetNextWithState(nsIAccessible *aStart, PRUint32 matchState)
|
||||
current->GetNextSibling(getter_AddRefs(look));
|
||||
if (!look) {
|
||||
current->GetParent(getter_AddRefs(look));
|
||||
current.swap(look);
|
||||
current = look;
|
||||
look = nsnull;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user