зеркало из https://github.com/mozilla/gecko-dev.git
Bug 886176 - Clean up XPCWN's participant. r=smaug
This commit is contained in:
Родитель
b5983e8bc3
Коммит
440d2455eb
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче