nsCOMPtr<nsIContent> prevNode; prevNode = GetDeepFirstChild(mCurNode); if (NS_FAILED(PrevNode(&prevNode))) return NS_OK; prevNode = GetDeepLastChild(prevNode); return GetTopAncestorInRange(prevNode, &mCurNode);
return PrevNode(&mCurNode);
nsresult nsContentSubtreeIterator::Prev(){  if (mIsDone)     return NS_OK;  if (!mCurNode)     return NS_OK;  if (mCurNode == mFirst)   {    mIsDone = PR_TRUE;    return NS_OK;  }    nsCOMPtr<nsIContent> prevNode;  prevNode = GetDeepFirstChild(mCurNode);  if (NS_FAILED(PrevNode(&prevNode)))    return NS_OK;  prevNode = GetDeepLastChild(prevNode);  return GetTopAncestorInRange(prevNode, &mCurNode);}