Bug 1353758 - Move the external string cache into the JS engine and improve it. r=arai,bz
This commit is contained in:
@@ -595,8 +595,6 @@ CycleCollectedJSContext::Initialize(JSRuntime* aParentRuntime,
|
||||
JS::SetLargeAllocationFailureCallback(mJSContext,
|
||||
LargeAllocationFailureCallback, this);
|
||||
JS_SetExternalStringSizeofCallback(mJSContext, SizeofExternalStringCallback);
|
||||
JS_SetDestroyZoneCallback(mJSContext, XPCStringConvert::FreeZoneCache);
|
||||
JS_SetSweepZoneCallback(mJSContext, XPCStringConvert::ClearZoneCache);
|
||||
JS::SetBuildIdOp(mJSContext, GetBuildId);
|
||||
JS::SetWarningReporter(mJSContext, MozCrashWarningReporter);
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
|
||||
Reference in New Issue
Block a user