return it->QueryInterface(NS_GET_IID(nsIXMLContentSink), (void **)aResult);
return CallQueryInterface(it, aResult);
NS_NewXMLContentSink(nsIXMLContentSink** aResult,                     nsIDocument* aDoc,                     nsIURI* aURL,                     nsIWebShell* aWebShell,                     nsIChannel* aChannel){  NS_PRECONDITION(nsnull != aResult, "null ptr");  if (nsnull == aResult) {    return NS_ERROR_NULL_POINTER;  }  nsXMLContentSink* it;  NS_NEWXPCOM(it, nsXMLContentSink);  if (nsnull == it) {    return NS_ERROR_OUT_OF_MEMORY;  }  nsresult rv = it->Init(aDoc, aURL, aWebShell, aChannel);  if (NS_OK != rv) {    delete it;    return rv;  }  return it->QueryInterface(NS_GET_IID(nsIXMLContentSink), (void **)aResult);}