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:
@@ -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) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user