return aForce ? mIdContentList.InsertElementAt(aContent, 0) : mIdContentList.AppendElement(aContent);
return mIdContentList.AppendElement(aContent);
IdAndNameMapEntry::AddIdContent(nsIContent* aContent, PRBool aForce){  NS_PRECONDITION(aContent, "Must have content");  NS_PRECONDITION(mIdContentList.IndexOf(nsnull) == -1,                  "Why is null in our list?");  NS_PRECONDITION(aContent != ID_NOT_IN_DOCUMENT,                  "Bogus content pointer");  if (GetIdContent() == ID_NOT_IN_DOCUMENT) {    NS_ASSERTION(mIdContentList.Count() == 1, "Bogus count");    return mIdContentList.ReplaceElementAt(aContent, 0);  }  // Have to check whether it's in the list already, in case we're  // registering from the top when going live.  PRInt32 index = mIdContentList.IndexOf(aContent);  if (index != -1) {    if (!aForce) {      // nothing else to do here      return PR_TRUE;    }    // Remove it from index    if (NS_UNLIKELY(!mIdContentList.RemoveElementAt(index))) {      return PR_FALSE;    }    // Fall through to readd at 0  }      return aForce ? mIdContentList.InsertElementAt(aContent, 0) :    mIdContentList.AppendElement(aContent);}