Checking in fix for annoying asserts on startup caused by a doctype token problem in the parser that was introduced yesterday, casting char * to PRUnichar * just aint a good idea (although that was only part of the problem). Fix done mostly by heikki@netscape.com, r=heikki, harishd, sr=me.

This commit is contained in:
jst@netscape.com
2000-12-14 02:30:12 +00:00
parent b315e2d77a
commit ba25708978
10 changed files with 20 additions and 10 deletions

View File

@@ -2091,7 +2091,12 @@ const nsAReadableString& CErrorToken::GetStringValue(void)
// Doctype decl token
CDoctypeDeclToken::CDoctypeDeclToken(eHTMLTags aTag) : CHTMLToken(aTag) {
CDoctypeDeclToken::CDoctypeDeclToken(eHTMLTags aTag)
: CHTMLToken(aTag) {
}
CDoctypeDeclToken::CDoctypeDeclToken(const nsAReadableString& aString,eHTMLTags aTag)
: CHTMLToken(aTag), mTextValue(aString) {
}
/**