nsHTMLMappedAttributes::Clone(nsHTMLMappedAttributes** aInstancePtrResult) const
HTMLAttributesImpl::Clone(nsIHTMLAttributes** aInstancePtrResult) const
nsHTMLMappedAttributes::Clone(nsHTMLMappedAttributes** aInstancePtrResult) const{  if (aInstancePtrResult == nsnull) {    return NS_ERROR_NULL_POINTER;  }  nsHTMLMappedAttributes* clone = new nsHTMLMappedAttributes(*this);  if (! clone) {    return NS_ERROR_OUT_OF_MEMORY;  }  NS_ADDREF(clone);  *aInstancePtrResult = clone;  return NS_OK;}