Bug 1286795 part 4 - Change some callbacks to take JSContext instead of JSRuntime. r=terrence

This commit is contained in:
Jan de Mooij
2016-07-23 19:52:47 +02:00
parent 1e309e5dfb
commit 705fa31f27
20 changed files with 101 additions and 92 deletions

View File

@@ -21,7 +21,7 @@ using namespace mozilla::jsipc;
using mozilla::AutoSafeJSContext;
static void
UpdateChildWeakPointersBeforeSweepingZoneGroup(JSRuntime* rt, void* data)
UpdateChildWeakPointersBeforeSweepingZoneGroup(JSContext* cx, void* data)
{
static_cast<JavaScriptChild*>(data)->updateWeakPointers();
}