nsresult res = nsGenericHTMLContainerFormElement::ReplaceChildAt(aKid, aIndex, aNotify, aDeepSetDocument);  if (NS_SUCCEEDED(res)) { res = AddOptionIndexed(aKid, aIndex); }  return res;
return nsGenericHTMLContainerFormElement::ReplaceChildAt(aKid, aIndex, aNotify, aDeepSetDocument);
nsHTMLSelectElement::ReplaceChildAt(nsIContent* aKid, PRInt32 aIndex,                                    PRBool aNotify, PRBool aDeepSetDocument) {  nsCOMPtr<nsIContent> content;  if (NS_SUCCEEDED(ChildAt(aIndex, *getter_AddRefs(content)))) {    RemoveOption(content);  }  nsresult res = nsGenericHTMLContainerFormElement::ReplaceChildAt(aKid,                                                                   aIndex,                                                                   aNotify,                                                                   aDeepSetDocument);  if (NS_SUCCEEDED(res)) {    res = AddOptionIndexed(aKid, aIndex);  }  return res;}