From 468d2d3ad4b005436d9697eecf5df0e169f44515 Mon Sep 17 00:00:00 2001 From: "sayrer@gmail.com" Date: Wed, 3 Oct 2007 19:11:57 -0700 Subject: [PATCH] Bug 397804. Use the short CC macro in nsParser. r/sr/a=sicking. --- parser/htmlparser/src/nsParser.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/parser/htmlparser/src/nsParser.cpp b/parser/htmlparser/src/nsParser.cpp index cab3d056619f..d65f22777e05 100644 --- a/parser/htmlparser/src/nsParser.cpp +++ b/parser/htmlparser/src/nsParser.cpp @@ -289,18 +289,7 @@ nsParser::~nsParser() NS_ASSERTION(!(mFlags & NS_PARSER_FLAG_PENDING_CONTINUE_EVENT), "bad"); } -NS_IMPL_CYCLE_COLLECTION_CLASS(nsParser) - -NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsParser) - NS_IMPL_CYCLE_COLLECTION_UNLINK_NSCOMPTR(mSink) - NS_IMPL_CYCLE_COLLECTION_UNLINK_NSCOMPTR(mObserver) -NS_IMPL_CYCLE_COLLECTION_UNLINK_END - -NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsParser) - NS_IMPL_CYCLE_COLLECTION_TRAVERSE_NSCOMPTR(mSink) - NS_IMPL_CYCLE_COLLECTION_TRAVERSE_NSCOMPTR(mObserver) -NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END - +NS_IMPL_CYCLE_COLLECTION_2(nsParser, mSink, mObserver) NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS(nsParser, nsIParser) NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS(nsParser, nsIParser) NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsParser)