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