return NS_OK;
return result;
nsHTMLSelectElement::SetSelectedIndex(PRInt32 aIndex){  nsIFormControlFrame* formControlFrame = nsnull;  if (NS_OK == nsGenericHTMLElement::GetPrimaryFrame(this, formControlFrame)) {    nsString value;    value.AppendInt(aIndex, 10);    nsIPresContext* presContext;    nsGenericHTMLElement::GetPresContext(this, &presContext);    formControlFrame->SetProperty(presContext, nsHTMLAtoms::selectedindex, value);    NS_IF_RELEASE(presContext);  } else {    SetOptionSelectedByIndex(aIndex, PR_TRUE);  }  return NS_OK;}