fixed bug22040 with patch by vidur; r=kmcclusk. Also removed warnings.
git-svn-id: svn://10.0.0.236/trunk@56469 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1491,9 +1491,7 @@ void nsParser::DebugDumpSource(nsOutputStream& aStream) {
|
||||
PRInt32 theIndex=-1;
|
||||
|
||||
nsITokenizer* theTokenizer=0;
|
||||
nsresult result=mParserContext->mDTD->GetTokenizer(theTokenizer);
|
||||
|
||||
if(theTokenizer){
|
||||
if(NS_SUCCEEDED(mParserContext->mDTD->GetTokenizer(theTokenizer))){
|
||||
CToken* theToken;
|
||||
while(nsnull != (theToken=theTokenizer->GetTokenAt(++theIndex))) {
|
||||
// theToken->DebugDumpToken(out);
|
||||
|
||||
Reference in New Issue
Block a user