fix 5974 by passing parser command to the tag observer

git-svn-id: svn://10.0.0.236/trunk@47786 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ftang%netscape.com
1999-09-16 14:17:45 +00:00
parent 897906f8d9
commit 14d7307a98
2 changed files with 0 additions and 4 deletions

View File

@@ -973,7 +973,6 @@ NS_IMETHODIMP CViewSourceHTML::HandleToken(CToken* aToken,nsIParser* aParser) {
else return kEOF;
}
}
#if 0
if(mParser) {
nsAutoString charsetValue;
nsCharsetSource charsetSource;
@@ -985,7 +984,6 @@ NS_IMETHODIMP CViewSourceHTML::HandleToken(CToken* aToken,nsIParser* aParser) {
result=theService.Notify(theTag,theContext.mTokenNode,(PRUint32)theDocID,
kViewSourceCommand,charsetValue,charsetSource);
}
#endif
if(NS_SUCCEEDED(result)) {
WriteTag(theContext.mTokenNode,*mSink,theEndTag,mIsHTML,mIsPlaintext,theContext);