Bug 1087128 - Remove some "Leaky" remnants. r=glandium.

--HG--
extra : rebase_source : b73df80267960f44edb768ff1e2f14ab8134d308
This commit is contained in:
Nicholas Nethercote 2014-10-21 19:13:05 -07:00
parent bd71db5aba
commit e3513fb564

View File

@ -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
}