GetSelect(*getter_AddRefs(selectElement));
GetSelect(getter_AddRefs(selectElement));
nsHTMLOptionElement::GetPrimaryFrame(nsIFormControlFrame *&aIFormControlFrame,                                     PRBool aFlushNotifications){  nsCOMPtr<nsIDOMHTMLSelectElement> selectElement;  nsresult res = NS_ERROR_FAILURE; // This should be NS_OK;  GetSelect(*getter_AddRefs(selectElement));  if (selectElement) {    nsCOMPtr<nsIHTMLContent> selectContent(do_QueryInterface(selectElement));    if (selectContent) {      res = nsGenericHTMLElement::GetPrimaryFrame(selectContent,                                                  aIFormControlFrame,                                                  aFlushNotifications);    }  }  return res;}