From e8da589a7fc226e24e1f401485ca8cbe89703590 Mon Sep 17 00:00:00 2001 From: "darin%meer.net" Date: Tue, 7 Oct 2003 18:20:58 +0000 Subject: [PATCH] fixes bug 221431 "crash: @nsHTMLDocument::ResolveName" patch=keeda@hotpop.com r=darin sr=bz --- htmlparser/src/nsParser.cpp | 5 ----- parser/htmlparser/src/nsParser.cpp | 5 ----- 2 files changed, 10 deletions(-) diff --git a/htmlparser/src/nsParser.cpp b/htmlparser/src/nsParser.cpp index 76f5eb14412..02446ed9f49 100644 --- a/htmlparser/src/nsParser.cpp +++ b/htmlparser/src/nsParser.cpp @@ -1183,11 +1183,6 @@ nsParser::CancelParsingEvents() } mFlags &= ~NS_PARSER_FLAG_PENDING_CONTINUE_EVENT; - /* Since we are taking this off of the queue, we need to do the NS_RELEASE - * that nsParserContinueEvent::HandleEvent would have done. - */ - nsParser* me = this; - NS_RELEASE(me); } return NS_OK; } diff --git a/parser/htmlparser/src/nsParser.cpp b/parser/htmlparser/src/nsParser.cpp index 76f5eb14412..02446ed9f49 100644 --- a/parser/htmlparser/src/nsParser.cpp +++ b/parser/htmlparser/src/nsParser.cpp @@ -1183,11 +1183,6 @@ nsParser::CancelParsingEvents() } mFlags &= ~NS_PARSER_FLAG_PENDING_CONTINUE_EVENT; - /* Since we are taking this off of the queue, we need to do the NS_RELEASE - * that nsParserContinueEvent::HandleEvent would have done. - */ - nsParser* me = this; - NS_RELEASE(me); } return NS_OK; }