mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1087128 - Remove some "Leaky" remnants. r=glandium.
--HG-- extra : rebase_source : b73df80267960f44edb768ff1e2f14ab8134d308
This commit is contained in:
parent
bd71db5aba
commit
e3513fb564
@ -107,7 +107,6 @@ static nsrefcnt gInitCount;
|
||||
static FILE* gBloatLog = nullptr;
|
||||
static FILE* gRefcntsLog = nullptr;
|
||||
static FILE* gAllocLog = nullptr;
|
||||
static FILE* gLeakyLog = nullptr;
|
||||
static FILE* gCOMPtrLog = nullptr;
|
||||
|
||||
struct serialNumberRecord
|
||||
@ -916,7 +915,7 @@ InitTraceLog()
|
||||
}
|
||||
|
||||
|
||||
if (gBloatLog || gRefcntsLog || gAllocLog || gLeakyLog || gCOMPtrLog) {
|
||||
if (gBloatLog || gRefcntsLog || gAllocLog || gCOMPtrLog) {
|
||||
gLogging = true;
|
||||
}
|
||||
|
||||
@ -1389,7 +1388,6 @@ nsTraceRefcnt::Shutdown()
|
||||
maybeUnregisterAndCloseFile(gBloatLog);
|
||||
maybeUnregisterAndCloseFile(gRefcntsLog);
|
||||
maybeUnregisterAndCloseFile(gAllocLog);
|
||||
maybeUnregisterAndCloseFile(gLeakyLog);
|
||||
maybeUnregisterAndCloseFile(gCOMPtrLog);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user