PLDHashStringRadioEntry* entry = mSelectedRadioButtons.AddEntry(aName); NS_ENSURE_TRUE(entry, NS_ERROR_OUT_OF_MEMORY); entry->mVal = aRadio;
NS_ENSURE_TRUE(mSelectedRadioButtons.Put(aName, aRadio), NS_ERROR_OUT_OF_MEMORY);
nsHTMLFormElement::SetCurrentRadioButton(const nsAString& aName,                                         nsIDOMHTMLInputElement* aRadio){  PLDHashStringRadioEntry* entry = mSelectedRadioButtons.AddEntry(aName);  NS_ENSURE_TRUE(entry, NS_ERROR_OUT_OF_MEMORY);  entry->mVal = aRadio;  return NS_OK;}