mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Content model builder CID now specified by XML processing instruction.
This commit is contained in:
parent
6208368dec
commit
08d1869b50
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user