Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -299,13 +299,17 @@ public:
|
||||
void **aResult);
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDocumentEncoderFactory);
|
||||
|
||||
nsDocumentEncoderFactory::nsDocumentEncoderFactory()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsDocumentEncoderFactory);
|
||||
mRefCnt = 0;
|
||||
}
|
||||
|
||||
nsDocumentEncoderFactory::~nsDocumentEncoderFactory()
|
||||
{
|
||||
MOZ_COUNT_DTOR(nsDocumentEncoderFactory);
|
||||
NS_ASSERTION(mRefCnt == 0, "non-zero refcnt at destruction");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user