Bug 715761 - Rename XPCWrappedNativeScope::TraceJS (r=bholley)

This commit is contained in:
Bill McCloskey 2012-06-22 11:37:22 -07:00
parent ba55e063e1
commit e352a152a3
3 changed files with 3 additions and 3 deletions

View File

@ -367,7 +367,7 @@ void XPCJSRuntime::TraceXPConnectRoots(JSTracer *trc)
XPCAutoLock lock(mMapLock);
XPCWrappedNativeScope::TraceJS(trc, this);
XPCWrappedNativeScope::TraceWrappedNativesInAllScopes(trc, this);
for (XPCRootSetElem *e = mVariantRoots; e ; e = e->GetNextRoot())
static_cast<XPCTraceableVariant*>(e)->TraceJS(trc);

View File

@ -327,7 +327,7 @@ WrappedNativeJSGCThingTracer(JSDHashTable *table, JSDHashEntryHdr *hdr,
// static
void
XPCWrappedNativeScope::TraceJS(JSTracer* trc, XPCJSRuntime* rt)
XPCWrappedNativeScope::TraceWrappedNativesInAllScopes(JSTracer* trc, XPCJSRuntime* rt)
{
// FIXME The lock may not be necessary during tracing as that serializes
// access to JS runtime. See bug 380139.

View File

@ -1626,7 +1626,7 @@ public:
SystemIsBeingShutDown();
static void
TraceJS(JSTracer* trc, XPCJSRuntime* rt);
TraceWrappedNativesInAllScopes(JSTracer* trc, XPCJSRuntime* rt);
void TraceSelf(JSTracer *trc) {
JSObject *obj = GetGlobalJSObjectPreserveColor();