mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 01:57:00 +00:00
Bug 579524 - DEBUG_CC broken by fatval. r=sayrer
This commit is contained in:
parent
c39299c437
commit
d7b656c9d6
@ -495,7 +495,7 @@ NoteJSRoot(JSTracer *trc, void *thing, uint32 kind)
|
||||
nsXPConnect::GetXPConnect());
|
||||
}
|
||||
}
|
||||
else if(kind != JSTRACE_DOUBLE && kind != JSTRACE_STRING)
|
||||
else if(kind != JSTRACE_STRING)
|
||||
{
|
||||
JS_TraceChildren(trc, thing, kind);
|
||||
}
|
||||
|
@ -3146,13 +3146,17 @@ nsCycleCollector::DestroyReversedEdges()
|
||||
void
|
||||
nsCycleCollector::ShouldBeFreed(nsISupports *n)
|
||||
{
|
||||
mExpectedGarbage.PutEntry(n);
|
||||
if (n) {
|
||||
mExpectedGarbage.PutEntry(n);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
nsCycleCollector::WasFreed(nsISupports *n)
|
||||
{
|
||||
mExpectedGarbage.RemoveEntry(n);
|
||||
if (n) {
|
||||
mExpectedGarbage.RemoveEntry(n);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user