Bug 886176 - Clean up XPCWN's participant. r=smaug

This commit is contained in:
Andrew McCreight 2013-08-19 10:04:03 -07:00
parent 63f746aa26
commit cc17e564e5

View File

@ -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;