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