mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 975295 patch 1: Remove class nsTraceRefcnt, which is unused. r=bsmedberg
This commit is contained in:
parent
710cc29e88
commit
8ee755b5cc
@ -57,39 +57,4 @@ do { \
|
||||
|
||||
#endif /* NS_BUILD_REFCNT_LOGGING */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
class nsTraceRefcnt {
|
||||
public:
|
||||
inline static void LogAddRef(void* aPtr, nsrefcnt aNewRefCnt,
|
||||
const char* aTypeName, uint32_t aInstanceSize) {
|
||||
NS_LogAddRef(aPtr, aNewRefCnt, aTypeName, aInstanceSize);
|
||||
}
|
||||
|
||||
inline static void LogRelease(void* aPtr, nsrefcnt aNewRefCnt,
|
||||
const char* aTypeName) {
|
||||
NS_LogRelease(aPtr, aNewRefCnt, aTypeName);
|
||||
}
|
||||
|
||||
inline static void LogCtor(void* aPtr, const char* aTypeName,
|
||||
uint32_t aInstanceSize) {
|
||||
NS_LogCtor(aPtr, aTypeName, aInstanceSize);
|
||||
}
|
||||
|
||||
inline static void LogDtor(void* aPtr, const char* aTypeName,
|
||||
uint32_t aInstanceSize) {
|
||||
NS_LogDtor(aPtr, aTypeName, aInstanceSize);
|
||||
}
|
||||
|
||||
inline static void LogAddCOMPtr(void *aCOMPtr, nsISupports *aObject) {
|
||||
NS_LogCOMPtrAddRef(aCOMPtr, aObject);
|
||||
}
|
||||
|
||||
inline static void LogReleaseCOMPtr(void *aCOMPtr, nsISupports *aObject) {
|
||||
NS_LogCOMPtrRelease(aCOMPtr, aObject);
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
#endif /* nsTraceRefcnt_h___ */
|
||||
|
Loading…
Reference in New Issue
Block a user