mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 886176 - Clean up XPCWN's participant. r=smaug
This commit is contained in:
parent
63f746aa26
commit
cc17e564e5
@ -2262,15 +2262,10 @@ public:
|
||||
class NS_CYCLE_COLLECTION_INNERCLASS
|
||||
: public nsXPCOMCycleCollectionParticipant
|
||||
{
|
||||
NS_DECL_CYCLE_COLLECTION_CLASS_BODY_NO_UNLINK(XPCWrappedNative,
|
||||
XPCWrappedNative)
|
||||
NS_DECL_CYCLE_COLLECTION_CLASS_BODY(XPCWrappedNative, XPCWrappedNative)
|
||||
NS_IMETHOD Root(void *p) { return NS_OK; }
|
||||
NS_IMETHOD Unlink(void *p);
|
||||
NS_IMETHOD Unroot(void *p) { return NS_OK; }
|
||||
static nsXPCOMCycleCollectionParticipant* GetParticipant()
|
||||
{
|
||||
return &XPCWrappedNative::NS_CYCLE_COLLECTION_INNERNAME;
|
||||
}
|
||||
NS_IMPL_GET_XPCOM_CYCLE_COLLECTION_PARTICIPANT(XPCWrappedNative)
|
||||
};
|
||||
static NS_CYCLE_COLLECTION_INNERCLASS NS_CYCLE_COLLECTION_INNERNAME;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user