Bug 909436 - Inline CycleCollectedJSRuntime::OnContext. r=bholley

This commit is contained in:
Andrew McCreight 2013-09-10 08:29:44 -07:00
parent dbad6e68d0
commit ea04eab2a4
2 changed files with 1 additions and 8 deletions

View File

@ -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);
}

View File

@ -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);