cN->ChildAt(--numChildren,*getter_AddRefs(cChild));
cN->ChildAt(--numChildren, getter_AddRefs(cChild));
nsCOMPtr<nsIContent> nsContentIterator::GetDeepLastChild(nsCOMPtr<nsIContent> aRoot, nsVoidArray *aIndexes){  nsCOMPtr<nsIContent> deepFirstChild;    if (aRoot)   {      nsCOMPtr<nsIContent> cN = aRoot;    nsCOMPtr<nsIContent> cChild;    PRInt32 numChildren;      cN->ChildCount(numChildren);    while ( numChildren )    {      cN->ChildAt(--numChildren,*getter_AddRefs(cChild));      if (cChild)      {        if (aIndexes)        {          // Add this node to the stack of indexes          aIndexes->AppendElement(NS_INT32_TO_PTR(numChildren));        }        cChild->ChildCount(numChildren);        cN = cChild;      }      else      {        break;      }    }    deepFirstChild = cN;  }    return deepFirstChild;}