if (nsnull == clone) {
if (! clone) {
HTMLAttributesImpl::Clone(nsIHTMLAttributes** aInstancePtrResult) const{  if (aInstancePtrResult == nsnull) {    return NS_ERROR_NULL_POINTER;  }  HTMLAttributesImpl* clone = new HTMLAttributesImpl(*this);  if (nsnull == clone) {    return NS_ERROR_OUT_OF_MEMORY;  }  return clone->QueryInterface(NS_GET_IID(nsIHTMLAttributes), (void **) aInstancePtrResult);}