if (NS_OK == GetPrimaryFrame(formControlFrame)) {
if (NS_OK == nsGenericHTMLElement::GetPrimaryFrame(this, formControlFrame)) {
nsHTMLSelectElement::SetSelectedIndex(PRInt32 aValue){  nsIFormControlFrame* formControlFrame = nsnull;  if (NS_OK == GetPrimaryFrame(formControlFrame)) {    nsString value;    value.Append(aValue, 10);    formControlFrame->SetProperty(nsHTMLAtoms::selectedindex, value);    NS_RELEASE(formControlFrame);  }  return NS_OK;}