mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 975849 - Remove overly strict assertion from CycleCollectedJSRuntime::TraverseRoots to restore previous behavior. r=smaug
This commit is contained in:
parent
d5db09b68a
commit
8fe8ca6e5e
@ -877,8 +877,6 @@ CycleCollectedJSRuntime::ZoneParticipant()
|
|||||||
nsresult
|
nsresult
|
||||||
CycleCollectedJSRuntime::TraverseRoots(nsCycleCollectionNoteRootCallback &aCb)
|
CycleCollectedJSRuntime::TraverseRoots(nsCycleCollectionNoteRootCallback &aCb)
|
||||||
{
|
{
|
||||||
MOZ_ASSERT(!NeedCollect(), "Cannot cycle collect if GC has not run first!");
|
|
||||||
|
|
||||||
TraverseNativeRoots(aCb);
|
TraverseNativeRoots(aCb);
|
||||||
|
|
||||||
NoteWeakMapsTracer trc(mJSRuntime, TraceWeakMapping, aCb);
|
NoteWeakMapsTracer trc(mJSRuntime, TraceWeakMapping, aCb);
|
||||||
|
Loading…
Reference in New Issue
Block a user