cN->ChildAt(0,*getter_AddRefs(cChild));
cN->ChildAt(0, getter_AddRefs(cChild));
nsCOMPtr<nsIContent> nsGeneratedContentIterator::GetDeepFirstChild(nsCOMPtr<nsIContent> aRoot){  nsCOMPtr<nsIContent> deepFirstChild;    if (aRoot)   {      nsCOMPtr<nsIContent> cN = aRoot;    nsCOMPtr<nsIContent> cChild;#if DO_BEFORE    //CHECK FOR BEFORESTUFF    nsresult result = NS_ERROR_FAILURE;    if (mPresShell)      result = mPresShell->GetGeneratedContentIterator(cN,nsIPresShell::Before,getter_AddRefs(mGenIter));    if (NS_SUCCEEDED(result) && mGenIter)    { //ok we have a generated iter all bets are off      mIterType = nsIPresShell::Before;      mGenIter->First();      return cN;    }#endif    cN->ChildAt(0,*getter_AddRefs(cChild));    while ( cChild )    {      cN = cChild;#if DO_BEFORE      //CHECK FOR BEFORESTUFF      if (mPresShell)        result = mPresShell->GetGeneratedContentIterator(cN,nsIPresShell::Before,getter_AddRefs(mGenIter));      if (NS_SUCCEEDED(result) && mGenIter)      { //ok we have a generated iter all bets are off        mIterType = nsIPresShell::Before;        mGenIter->First();        return cN;      }#endif      cN->ChildAt(0,*getter_AddRefs(cChild));    }    deepFirstChild = cN;  }    return deepFirstChild;}