From 8ee755b5cc7f7de0a233df8c015161b38497f8ce Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Mon, 24 Feb 2014 15:27:53 -0800 Subject: [PATCH] Bug 975295 patch 1: Remove class nsTraceRefcnt, which is unused. r=bsmedberg --- xpcom/glue/nsTraceRefcnt.h | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/xpcom/glue/nsTraceRefcnt.h b/xpcom/glue/nsTraceRefcnt.h index b132540e77a..ca4c6e3b734 100644 --- a/xpcom/glue/nsTraceRefcnt.h +++ b/xpcom/glue/nsTraceRefcnt.h @@ -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___ */