EnumValueToString(aValue, kAlignTable, aResult);
aValue.EnumValueToString(kAlignTable, aResult);
nsHTMLHRElement::AttributeToString(nsIAtom* aAttribute,                                   const nsHTMLValue& aValue,                                   nsAString& aResult) const{  if (aAttribute == nsHTMLAtoms::align) {    if (eHTMLUnit_Enumerated == aValue.GetUnit()) {      EnumValueToString(aValue, kAlignTable, aResult);      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  return nsGenericHTMLLeafElement::AttributeToString(aAttribute, aValue,                                                     aResult);}