NS_ADDREF(*aInstancePtrResult);
NS_NewHTMLAttributes(nsIHTMLAttributes** aInstancePtrResult){  *aInstancePtrResult = new HTMLAttributesImpl();  NS_ENSURE_TRUE(*aInstancePtrResult, NS_ERROR_OUT_OF_MEMORY);  NS_ADDREF(*aInstancePtrResult);  return NS_OK;}