From a33ece6792d4997013b3a662199ad2690cf08060 Mon Sep 17 00:00:00 2001 From: "warren%netscape.com" Date: Sat, 28 Oct 2000 04:09:10 +0000 Subject: [PATCH] problem with gNumberOfWebShells -- moved into DEBUG git-svn-id: svn://10.0.0.236/trunk@81927 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsWebShell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index c9414a8068e..bc4aaacb624 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -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()