Bug 711841, Null(C)String(), r=bsmedberg,glandium
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user