bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst

git-svn-id: svn://10.0.0.236/trunk@188251 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mrbkap%gmail.com
2006-01-26 19:07:41 +00:00
parent f35c210acb
commit 8b6ba84a47
18 changed files with 38 additions and 465 deletions

View File

@@ -2064,12 +2064,6 @@ nsHTMLDocument::OpenCommon(const nsACString& aContentType, PRBool aReplace)
channel);
NS_ENSURE_SUCCESS(rv, rv);
static NS_DEFINE_CID(kNavDTDCID, NS_CNAVDTD_CID);
nsCOMPtr<nsIDTD> theDTD(do_CreateInstance(kNavDTDCID));
if(theDTD) {
mParser->RegisterDTD(theDTD);
}
mParser->SetContentSink(sink);
}