nsIWebShell* aWebShell,
nsISupports* aContainer,
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;  }    nsCOMPtr<nsIXMLContentSink> kungFuDeathGrip = it;  nsresult rv = it->Init(aDoc, aURL, aWebShell, aChannel);  NS_ENSURE_SUCCESS(rv, rv);    return CallQueryInterface(it, aResult);}