Bug #368869, suspect all native wrappers as cycle roots (again).

r=brendan, sr=jst


git-svn-id: svn://10.0.0.236/trunk@225550 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
graydon%mozilla.com
2007-05-03 22:53:00 +00:00
parent 7c6f8995ee
commit 0d9fa5208e

View File

@@ -277,8 +277,8 @@ WrappedNativeJSGCThingMarker(JSDHashTable *table, JSDHashEntryHdr *hdr,
// formed by a poor order between C++ and JS garbage cycle
// formations. See Bug 368869.
//
// if (JS_IsGCMarkTraversal(trc))
// nsCycleCollector_suspectCurrent(wrapper);
if (JS_IsGCMarkingTracer(trc))
nsCycleCollector_suspectCurrent(wrapper);
}
return JS_DHASH_NEXT;
}