nsChildContentList::QueryInterface(REFNSIID aIID, void** aInstancePtr)
DOMAttribute::QueryInterface(REFNSIID aIID, void** aInstancePtr)
nsChildContentList::QueryInterface(REFNSIID aIID, void** aInstancePtr){  if (NULL == aInstancePtr) {    return NS_ERROR_NULL_POINTER;  }  if (aIID.Equals(kIDOMNodeListIID)) {    nsIDOMNodeList* tmp = this;    *aInstancePtr = (void*)tmp;    NS_ADDREF_THIS();    return NS_OK;  }  if (aIID.Equals(kIScriptObjectOwnerIID)) {    nsIScriptObjectOwner* tmp = this;    *aInstancePtr = (void*)tmp;    NS_ADDREF_THIS();    return NS_OK;  }  if (aIID.Equals(kISupportsIID)) {    nsIDOMNodeList* tmp1 = this;    nsISupports* tmp2 = tmp1;    *aInstancePtr = (void*)tmp2;    NS_ADDREF_THIS();    return NS_OK;  }  return NS_NOINTERFACE;}