problem with gNumberOfWebShells -- moved into DEBUG

git-svn-id: svn://10.0.0.236/trunk@81927 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
2000-10-28 04:09:10 +00:00
parent 209d2435c5
commit a33ece6792

View File

@@ -153,8 +153,8 @@ nsWebShell::nsWebShell() : nsDocShell()
#ifdef DEBUG
// We're counting the number of |nsWebShells| to help find leaks
++gNumberOfWebShells;
#endif
PRINTF("WEBSHELL+ = %ld\n", gNumberOfWebShells);
#endif
NS_INIT_REFCNT();
mThreadEventQueue = nsnull;
@@ -203,8 +203,8 @@ nsWebShell::~nsWebShell()
#ifdef DEBUG
// We're counting the number of |nsWebShells| to help find leaks
--gNumberOfWebShells;
#endif
PRINTF("WEBSHELL- = %ld\n", gNumberOfWebShells);
#endif
}
void nsWebShell::InitFrameData()