Bug 711841, Null(C)String(), r=bsmedberg,glandium

This commit is contained in:
Olli Pettay
2011-12-20 21:46:00 +02:00
parent 7b0c34d74f
commit e32dd61fb2
8 changed files with 26 additions and 20 deletions

View File

@@ -2453,11 +2453,9 @@ HTMLContentSink::AddDocTypeDecl(const nsIParserNode& aNode)
}
// Indicate that there is no internal subset (not just an empty one)
nsAutoString voidString;
voidString.SetIsVoid(true);
rv = NS_NewDOMDocumentType(getter_AddRefs(docType),
mDocument->NodeInfoManager(), nameAtom,
publicId, systemId, voidString);
publicId, systemId, NullString());
NS_ENSURE_SUCCESS(rv, rv);
if (oldDocType) {