nsresult res = nsGenericHTMLContainerFormElement::AppendChildTo(aKid, aNotify); if (NS_SUCCEEDED(res)) { AddOption(aKid); }
WillAddOptions(aKid, this, GetChildCount());
nsHTMLSelectElement::AppendChildTo(nsIContent* aKid, PRBool aNotify) {  nsresult res = nsGenericHTMLContainerFormElement::AppendChildTo(aKid,                                                                  aNotify);  if (NS_SUCCEEDED(res)) {    AddOption(aKid);  }  return res;}