aParent->ChildAt(aContentIndex, *getter_AddRefs(currentKid));
aParent->ChildAt(aContentIndex, getter_AddRefs(currentKid));
nsHTMLSelectElement::WillRemoveOptions(nsIContent* aParent,                                       PRInt32 aContentIndex){  PRInt32 level;  GetContentLevel(aParent, &level);  if (level == -1) {    return NS_ERROR_FAILURE;  }  // Get the index where the options will be removed  nsCOMPtr<nsIContent> currentKid;  aParent->ChildAt(aContentIndex, *getter_AddRefs(currentKid));  if (currentKid) {    PRInt32 ind = -1;    GetFirstOptionIndex(currentKid, &ind);    if (ind != -1) {      RemoveOptionsFromList(currentKid, ind, level);    }  }  return NS_OK;}