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