r=beard; Added in ctor/dtor counting

git-svn-id: svn://10.0.0.236/trunk@49837 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1999-10-05 14:52:53 +00:00
parent 011094c243
commit 54966bf91e
2 changed files with 12 additions and 0 deletions

View File

@@ -66,8 +66,12 @@ nsEventStatus PR_CALLBACK HandleEvent(nsGUIEvent *aEvent)
return result;
}
MOZ_DECL_CTOR_COUNTER(nsView);
nsView :: nsView()
{
MOZ_COUNT_CTOR(nsView);
mVis = nsViewVisibility_kShow;
mXForm = nsnull;
mVFlags = 0;
@@ -77,6 +81,8 @@ nsView :: nsView()
nsView :: ~nsView()
{
MOZ_COUNT_DTOR(nsView);
mVFlags |= NS_VIEW_PUBLIC_FLAG_DYING;
PRInt32 numKids;