Content model builder CID now specified by XML processing instruction.
git-svn-id: svn://10.0.0.236/trunk@19207 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user