if (NS_FAILED(GetOptionIndex(aOption, &index))) {
if (NS_FAILED(GetOptionIndex(aOption, 0, PR_TRUE, &index))) {
nsHTMLSelectElement::IsOptionSelected(nsIDOMHTMLOptionElement* aOption,                                      PRBool * aIsSelected){  // start off by assuming it isn't in the list of index objects  *aIsSelected = PR_FALSE;  // first find the index of the incoming option  PRInt32 index = -1;  if (NS_FAILED(GetOptionIndex(aOption, &index))) {    return NS_ERROR_FAILURE;  }  return IsOptionSelectedByIndex(index, aIsSelected);}