nsresult nsFormControlList::QueryInterface(REFNSIID aIID, void** aInstancePtr)
nsHTMLFormElement::QueryInterface(REFNSIID aIID, void** aInstancePtr)
nsresult nsFormControlList::QueryInterface(REFNSIID aIID, void** aInstancePtr){  if (NULL == aInstancePtr) {    return NS_ERROR_NULL_POINTER;  }  if (aIID.Equals(NS_GET_IID(nsIDOMHTMLCollection))) {    nsIDOMHTMLCollection* tmp = this;    *aInstancePtr = (void*)tmp;    AddRef();    return NS_OK;  }  if (aIID.Equals(NS_GET_IID(nsIScriptObjectOwner))) {    nsIScriptObjectOwner* tmp = this;    *aInstancePtr = (void*)tmp;    AddRef();    return NS_OK;  }  if (aIID.Equals(NS_GET_IID(nsISupports))) {    nsIDOMHTMLCollection* tmp = this;    nsISupports* tmp1 = tmp;    *aInstancePtr = (void*)tmp1;    AddRef();    return NS_OK;  }  return NS_NOINTERFACE;}