mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 931738 - Remove nsPurpleBufferEntry from nsISupportsImpl.h. r=smaug
This commit is contained in:
parent
204e61c5d0
commit
eaa17634f8
@ -731,6 +731,17 @@ CanonicalizeParticipant(void **parti, nsCycleCollectionParticipant **cp)
|
||||
}
|
||||
}
|
||||
|
||||
struct nsPurpleBufferEntry {
|
||||
union {
|
||||
void *mObject; // when low bit unset
|
||||
nsPurpleBufferEntry *mNextInFreeList; // when low bit set
|
||||
};
|
||||
|
||||
nsCycleCollectingAutoRefCnt *mRefCnt;
|
||||
|
||||
nsCycleCollectionParticipant *mParticipant; // nullptr for nsISupports
|
||||
};
|
||||
|
||||
class nsCycleCollector;
|
||||
|
||||
struct nsPurpleBuffer
|
||||
|
@ -31,7 +31,6 @@ DECL_CLASS(nsIDirectoryServiceProvider);
|
||||
DECL_CLASS(nsIMemory);
|
||||
DECL_CLASS(nsIDebug);
|
||||
DECL_CLASS(nsITraceRefcnt);
|
||||
DECL_STRUCT(nsPurpleBufferEntry);
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace mozilla {
|
||||
|
@ -15,6 +15,7 @@
|
||||
class nsStringContainer;
|
||||
class nsCStringContainer;
|
||||
class nsIComponentLoader;
|
||||
class nsPurpleBufferEntry;
|
||||
|
||||
/**
|
||||
* During this shutdown notification all threads which run XPCOM code must
|
||||
|
@ -74,17 +74,6 @@ private:
|
||||
|
||||
// Support for ISupports classes which interact with cycle collector.
|
||||
|
||||
struct nsPurpleBufferEntry {
|
||||
union {
|
||||
void *mObject; // when low bit unset
|
||||
nsPurpleBufferEntry *mNextInFreeList; // when low bit set
|
||||
};
|
||||
|
||||
nsCycleCollectingAutoRefCnt *mRefCnt;
|
||||
|
||||
nsCycleCollectionParticipant *mParticipant; // nullptr for nsISupports
|
||||
};
|
||||
|
||||
#define NS_NUMBER_OF_FLAGS_IN_REFCNT 2
|
||||
#define NS_IN_PURPLE_BUFFER (1 << 0)
|
||||
#define NS_IS_PURPLE (1 << 1)
|
||||
|
Loading…
Reference in New Issue
Block a user