nsInfoListImpl::RemoveAfter(nsCalculatedBoxInfo* aPrevious)
nsInfoListImpl::RemoveAfter(nsIPresShell* aPresShell, nsCalculatedBoxInfo* aPrevious)
nsInfoListImpl::RemoveAfter(nsCalculatedBoxInfo* aPrevious){    nsCalculatedBoxInfo* toDelete = nsnull;    if (aPrevious == nsnull)    {        NS_ASSERTION(mFirst,"Can't find first child");        toDelete = mFirst;        if (mLast == mFirst)            mLast = mFirst->next;        mFirst = mFirst->next;    } else {        toDelete = aPrevious->next;        NS_ASSERTION(toDelete,"Can't find child to delete");        aPrevious->next = toDelete->next;        if (mLast == toDelete)            mLast = aPrevious;    }    delete toDelete;    mCount--;}