nsAccessibleTreeWalker::GetSiblings(nsIDOMNode *aOneOfTheSiblings)
void nsAccessibleTreeWalker::GetSiblings(nsIDOMNode *aOneOfTheSiblings)
nsAccessibleTreeWalker::GetSiblings(nsIDOMNode *aOneOfTheSiblings){  nsCOMPtr<nsIDOMNode> node;  mState.siblingIndex = eSiblingsWalkNormalDOM; // Default value  if (NS_SUCCEEDED(GetFullTreeParentNode(aOneOfTheSiblings, getter_AddRefs(node)))) {    GetKids(node);    if (mState.siblingList) {      // Init index by seeing how far we are into list      while (NS_SUCCEEDED(mState.siblingList->Item(mState.siblingIndex, getter_AddRefs(node))) && node != mState.domNode) {        NS_ASSERTION(node, "Something is terribly wrong - the child is not in it's parent's children!");        ++mState.siblingIndex;      }    }  }}