nsContentDLF::CreateRDFDocument(nsISupports* aExtraInfo, nsCOMPtr<nsIDocument>* doc, nsCOMPtr<nsIDocumentViewer>* docv)
nsContentDLF::CreateRDFDocument(const char* aCommand, nsIChannel* aChannel, nsILoadGroup* aLoadGroup, const char* aContentType, nsISupports* aContainer, nsISupports* aExtraInfo, nsIStreamListener** aDocListener, nsIContentViewer** aDocViewer)
nsContentDLF::CreateRDFDocument(nsISupports* aExtraInfo,                               nsCOMPtr<nsIDocument>* doc,                               nsCOMPtr<nsIDocumentViewer>* docv){  nsresult rv = NS_ERROR_FAILURE;      // Create the XUL document  rv = nsComponentManager::CreateInstance(kXULDocumentCID, nsnull,                                          NS_GET_IID(nsIDocument),                                          getter_AddRefs(*doc));  if (NS_FAILED(rv)) return rv;  // Create the image content viewer...  rv = NS_NewDocumentViewer(getter_AddRefs(*docv));  if (NS_FAILED(rv)) return rv;  // Load the UA style sheet if we haven't already done that  (*docv)->SetUAStyleSheet(nsContentDLF::GetUAStyleSheet());  return NS_OK;}