*aInstancePtrResult = NS_STATIC_CAST(nsIHTMLContent *, it);
*aInstancePtrResult = it;
NS_NewHTMLAreaElement(nsIHTMLContent** aInstancePtrResult,                      nsINodeInfo *aNodeInfo){  NS_ENSURE_ARG_POINTER(aInstancePtrResult);  nsHTMLAreaElement* it = new nsHTMLAreaElement();  if (!it) {    return NS_ERROR_OUT_OF_MEMORY;  }  nsresult rv = it->Init(aNodeInfo);  if (NS_FAILED(rv)) {    delete it;    return rv;  }  *aInstancePtrResult = NS_STATIC_CAST(nsIHTMLContent *, it);  NS_ADDREF(*aInstancePtrResult);  return NS_OK;}