return it->QueryInterface(kIDocumentLoaderFactoryIID, (void**)aResult);
return it->QueryInterface(NS_GET_IID(nsIDocumentLoaderFactory), (void**)aResult);
NS_NewLayoutDocumentLoaderFactory(nsIDocumentLoaderFactory** aResult){  NS_PRECONDITION(aResult, "null OUT ptr");  if (!aResult) {    return NS_ERROR_NULL_POINTER;  }  nsLayoutDLF* it = new nsLayoutDLF();  if (!it) {    return NS_ERROR_OUT_OF_MEMORY;  }  return it->QueryInterface(kIDocumentLoaderFactoryIID, (void**)aResult);}