Bug 1341044 - Rename the GC's 'zone group' concept to 'sweep group' r=sfink

This commit is contained in:
Jon Coppeard
2017-03-22 17:30:50 +00:00
parent 6e71d8147d
commit b0a63f7241
17 changed files with 140 additions and 140 deletions

View File

@@ -35,7 +35,7 @@ TraceChild(JSTracer* trc, void* data)
JavaScriptChild::~JavaScriptChild()
{
JSContext* cx = dom::danger::GetJSContext();
JS_RemoveWeakPointerZoneGroupCallback(cx, UpdateChildWeakPointersBeforeSweepingZoneGroup);
JS_RemoveWeakPointerZonesCallback(cx, UpdateChildWeakPointersBeforeSweepingZoneGroup);
JS_RemoveExtraGCRootsTracer(cx, TraceChild, this);
}
@@ -48,7 +48,7 @@ JavaScriptChild::init()
return false;
JSContext* cx = dom::danger::GetJSContext();
JS_AddWeakPointerZoneGroupCallback(cx, UpdateChildWeakPointersBeforeSweepingZoneGroup, this);
JS_AddWeakPointerZonesCallback(cx, UpdateChildWeakPointersBeforeSweepingZoneGroup, this);
JS_AddExtraGCRootsTracer(cx, TraceChild, this);
return true;
}