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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user