Bug 766341 - Fix debug warnings in nsDocShell.cpp r=smaug
This commit is contained in:
@@ -786,7 +786,7 @@ nsDocShell::nsDocShell():
|
||||
// We're counting the number of |nsDocShells| to help find leaks
|
||||
++gNumberOfDocShells;
|
||||
if (!PR_GetEnv("MOZ_QUIET")) {
|
||||
printf("++DOCSHELL %p == %ld [id = %ld]\n", (void*) this,
|
||||
printf("++DOCSHELL %p == %ld [id = %llu]\n", (void*) this,
|
||||
gNumberOfDocShells, mHistoryID);
|
||||
}
|
||||
#endif
|
||||
@@ -815,7 +815,7 @@ nsDocShell::~nsDocShell()
|
||||
// We're counting the number of |nsDocShells| to help find leaks
|
||||
--gNumberOfDocShells;
|
||||
if (!PR_GetEnv("MOZ_QUIET")) {
|
||||
printf("--DOCSHELL %p == %ld [id = %ld]\n", (void*) this,
|
||||
printf("--DOCSHELL %p == %ld [id = %llu]\n", (void*) this,
|
||||
gNumberOfDocShells, mHistoryID);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user