return it->QueryInterface(kIHTMLContentSinkIID, (void **)aResult);
return it->QueryInterface(NS_GET_IID(nsIHTMLContentSink), (void **)aResult);
NS_NewHTMLContentSink(nsIHTMLContentSink** aResult,                      nsIDocument* aDoc,                      nsIURI* aURL,                      nsIWebShell* aWebShell){  NS_PRECONDITION(nsnull != aResult, "null ptr");  if (nsnull == aResult) {    return NS_ERROR_NULL_POINTER;  }  HTMLContentSink* it;  NS_NEWXPCOM(it, HTMLContentSink);  if (nsnull == it) {    return NS_ERROR_OUT_OF_MEMORY;  }  nsresult rv = it->Init(aDoc, aURL, aWebShell);  if (NS_OK != rv) {    delete it;    return rv;  }  return it->QueryInterface(kIHTMLContentSinkIID, (void **)aResult);}