From ddd2eeea63103d1dfe2c6b774385c45bf4d31d49 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 git-svn-id: svn://10.0.0.236/trunk@147696 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/htmlparser/src/nsParser.cpp | 5 ----- mozilla/parser/htmlparser/src/nsParser.cpp | 5 ----- 2 files changed, 10 deletions(-) diff --git a/mozilla/htmlparser/src/nsParser.cpp b/mozilla/htmlparser/src/nsParser.cpp index 76f5eb14412..02446ed9f49 100644 --- a/mozilla/htmlparser/src/nsParser.cpp +++ b/mozilla/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/mozilla/parser/htmlparser/src/nsParser.cpp b/mozilla/parser/htmlparser/src/nsParser.cpp index 76f5eb14412..02446ed9f49 100644 --- a/mozilla/parser/htmlparser/src/nsParser.cpp +++ b/mozilla/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; }