mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 715761 - Rename XPCWrappedNativeScope::TraceJS (r=bholley)
This commit is contained in:
parent
ba55e063e1
commit
e352a152a3
@ -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);
|
||||
|
@ -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.
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user