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; }