mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 909436 - Inline CycleCollectedJSRuntime::OnContext. r=bholley
This commit is contained in:
parent
dbad6e68d0
commit
ea04eab2a4
@ -724,7 +724,7 @@ CycleCollectedJSRuntime::ContextCallback(JSContext* aContext,
|
||||
|
||||
MOZ_ASSERT(JS_GetRuntime(aContext) == self->Runtime());
|
||||
|
||||
return self->OnContext(aContext, aOperation);
|
||||
return self->CustomContextCallback(aContext, aOperation);
|
||||
}
|
||||
|
||||
struct JsGcTracer : public TraceCallbacks
|
||||
@ -1133,9 +1133,3 @@ CycleCollectedJSRuntime::OnGC(JSGCStatus aStatus)
|
||||
|
||||
CustomGCCallback(aStatus);
|
||||
}
|
||||
|
||||
bool
|
||||
CycleCollectedJSRuntime::OnContext(JSContext* aCx, unsigned aOperation)
|
||||
{
|
||||
return CustomContextCallback(aCx, aOperation);
|
||||
}
|
||||
|
@ -162,7 +162,6 @@ private:
|
||||
void FinalizeDeferredThings(DeferredFinalizeType aType);
|
||||
|
||||
void OnGC(JSGCStatus aStatus);
|
||||
bool OnContext(JSContext* aCx, unsigned aOperation);
|
||||
|
||||
public:
|
||||
void AddJSHolder(void* aHolder, nsScriptObjectTracer* aTracer);
|
||||
|
Loading…
Reference in New Issue
Block a user