Move APIs to create 'anonymous' resources into the RDF service. Fix stuff that was using it.

This commit is contained in:
waterson@netscape.com
1999-09-06 19:35:41 +00:00
parent 1aecf0815b
commit 01eeffd147
7 changed files with 158 additions and 151 deletions

View File

@@ -1031,7 +1031,7 @@ RDFContentSinkImpl::GetIdAboutAttribute(const nsIParserNode& aNode,
}
// Otherwise, we couldn't find anything, so just gensym one...
rv = rdf_CreateAnonymousResource(nsCAutoString(docURI), aResource);
rv = gRDFService->GetAnonymousResource(aResource);
return rv;
}