mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 683953 - Part 2 - Add a docShell's history ID to the debug output; r=jlebar
This commit is contained in:
parent
2cfabea640
commit
8310db6f57
@ -785,7 +785,8 @@ nsDocShell::nsDocShell():
|
||||
// We're counting the number of |nsDocShells| to help find leaks
|
||||
++gNumberOfDocShells;
|
||||
if (!PR_GetEnv("MOZ_QUIET")) {
|
||||
printf("++DOCSHELL %p == %ld\n", (void*) this, gNumberOfDocShells);
|
||||
printf("++DOCSHELL %p == %ld [id = %ld]\n", (void*) this,
|
||||
gNumberOfDocShells, mHistoryID);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
@ -813,7 +814,8 @@ nsDocShell::~nsDocShell()
|
||||
// We're counting the number of |nsDocShells| to help find leaks
|
||||
--gNumberOfDocShells;
|
||||
if (!PR_GetEnv("MOZ_QUIET")) {
|
||||
printf("--DOCSHELL %p == %ld\n", (void*) this, gNumberOfDocShells);
|
||||
printf("--DOCSHELL %p == %ld [id = %ld]\n", (void*) this,
|
||||
gNumberOfDocShells, mHistoryID);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user