Content model builder CID now specified by XML processing instruction.

This commit is contained in:
waterson%netscape.com 1999-02-01 22:30:42 +00:00
parent 6208368dec
commit 08d1869b50
2 changed files with 0 additions and 18 deletions

View File

@ -477,15 +477,6 @@ nsDocFactoryImpl::CreateRDFDocument(nsIURL* aURL,
(void **)&rdfDoc)))
goto done;
if (NS_FAILED(rv = nsRepository::CreateInstance(kCRDFHTMLBuilderCID,
nsnull,
kIRDFContentModelBuilderIID,
(void**) &builder)))
goto done;
if (NS_FAILED(rv = rdfDoc->Init(builder)))
goto done;
if (NS_FAILED(rv = rdfDoc->QueryInterface(kIDocumentIID, (void**) &doc)))
goto done;

View File

@ -477,15 +477,6 @@ nsDocFactoryImpl::CreateRDFDocument(nsIURL* aURL,
(void **)&rdfDoc)))
goto done;
if (NS_FAILED(rv = nsRepository::CreateInstance(kCRDFHTMLBuilderCID,
nsnull,
kIRDFContentModelBuilderIID,
(void**) &builder)))
goto done;
if (NS_FAILED(rv = rdfDoc->Init(builder)))
goto done;
if (NS_FAILED(rv = rdfDoc->QueryInterface(kIDocumentIID, (void**) &doc)))
goto done;