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

This commit is contained in:
Andrew McCreight 2013-08-19 10:04:03 -07:00
Родитель b5983e8bc3
Коммит 440d2455eb
1 изменённых файлов: 2 добавлений и 7 удалений

Просмотреть файл

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