mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 888338 - 5 - post barrier remaining heap-based GC things in XPConnect r=bholley
This commit is contained in:
parent
cde9c3d3cd
commit
da1bfb1578
@ -69,7 +69,7 @@ void XPCTraceableVariant::TraceJS(JSTracer* trc)
|
||||
{
|
||||
MOZ_ASSERT(JSVAL_IS_TRACEABLE(mJSVal));
|
||||
JS_SET_TRACING_DETAILS(trc, GetTraceName, this, 0);
|
||||
JS_CallValueTracer(trc, &mJSVal, "XPCTraceableVariant::mJSVal");
|
||||
JS_CallHeapValueTracer(trc, &mJSVal, "XPCTraceableVariant::mJSVal");
|
||||
}
|
||||
|
||||
// static
|
||||
|
@ -3403,7 +3403,7 @@ void
|
||||
XPCJSObjectHolder::TraceJS(JSTracer *trc)
|
||||
{
|
||||
JS_SET_TRACING_DETAILS(trc, GetTraceName, this, 0);
|
||||
JS_CallObjectTracer(trc, &mJSObj, "XPCJSObjectHolder::mJSObj");
|
||||
JS_CallHeapObjectTracer(trc, &mJSObj, "XPCJSObjectHolder::mJSObj");
|
||||
}
|
||||
|
||||
// static
|
||||
|
@ -2829,7 +2829,7 @@ private:
|
||||
XPCJSObjectHolder(JSObject* obj);
|
||||
XPCJSObjectHolder(); // not implemented
|
||||
|
||||
JSObject* mJSObj;
|
||||
JS::Heap<JSObject*> mJSObj;
|
||||
};
|
||||
|
||||
/***************************************************************************
|
||||
@ -3640,7 +3640,7 @@ protected:
|
||||
|
||||
protected:
|
||||
nsDiscriminatedUnion mData;
|
||||
jsval mJSVal;
|
||||
JS::Heap<JS::Value> mJSVal;
|
||||
bool mReturnRawObject : 1;
|
||||
uint32_t mCCGeneration : 31;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user