if (NS_SUCCEEDED(rv)) {  SetChecked(aDefaultChecked); }
nsHTMLInputElement::SetDefaultChecked(PRBool aDefaultChecked){  nsresult rv = NS_OK;  nsHTMLValue empty(eHTMLUnit_Empty);  if (aDefaultChecked) {                                                         rv = SetHTMLAttribute(nsHTMLAtoms::checked, empty, PR_TRUE);   } else {                                                                rv = UnsetAttr(kNameSpaceID_HTML, nsHTMLAtoms::checked, PR_TRUE);  }  if (NS_SUCCEEDED(rv)) {    //When setting DefaultChecked, we must also reset Checked (DOM Errata)    SetChecked(aDefaultChecked);  }  return rv;}