Bug 975849 - Remove overly strict assertion from CycleCollectedJSRuntime::TraverseRoots to restore previous behavior. r=smaug

This commit is contained in:
Andrew McCreight 2014-02-26 13:18:17 -08:00
parent d5db09b68a
commit 8fe8ca6e5e

View File

@ -877,8 +877,6 @@ CycleCollectedJSRuntime::ZoneParticipant()
nsresult
CycleCollectedJSRuntime::TraverseRoots(nsCycleCollectionNoteRootCallback &aCb)
{
MOZ_ASSERT(!NeedCollect(), "Cannot cycle collect if GC has not run first!");
TraverseNativeRoots(aCb);
NoteWeakMapsTracer trc(mJSRuntime, TraceWeakMapping, aCb);