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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user