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:
kipp%netscape.com
1999-10-08 20:41:19 +00:00
parent 0f9df28d81
commit e18af2d0ee
265 changed files with 1186 additions and 2477 deletions

View File

@@ -199,11 +199,9 @@ NS_NewHTMLMapElement(nsIHTMLContent** aInstancePtrResult, nsIAtom* aTag)
return it->QueryInterface(kIHTMLContentIID, (void**) aInstancePtrResult);
}
MOZ_DECL_CTOR_COUNTER(nsHTMLMapElement);
nsHTMLMapElement::nsHTMLMapElement(nsIAtom* aTag)
{
MOZ_COUNT_CTOR(nsHTMLMapElement);
NS_INIT_REFCNT();
mInner.Init(this, aTag);
mAreas = nsnull;
@@ -211,7 +209,6 @@ nsHTMLMapElement::nsHTMLMapElement(nsIAtom* aTag)
nsHTMLMapElement::~nsHTMLMapElement()
{
MOZ_COUNT_DTOR(nsHTMLMapElement);
if (nsnull != mAreas) {
mAreas->ParentDestroyed();
NS_RELEASE(mAreas);