Fixes HP bustage in xpcom. patch by pkw@austin.ibm.com, r=dougt, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@126736 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2a809bc263
commit
4372e081d1
@ -68,6 +68,12 @@ class nsISupports;
|
||||
#undef NS_BUILD_REFCNT_LOGGING
|
||||
#endif
|
||||
|
||||
// Disable refcnt logging if we are in xpcom glue
|
||||
// Bug #151072
|
||||
#if defined(XPCOM_GLUE)
|
||||
#undef NS_BUILD_REFCNT_LOGGING
|
||||
#endif
|
||||
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
|
||||
#define NS_LOG_ADDREF(_p, _rc, _type, _size) \
|
||||
|
||||
@ -68,6 +68,12 @@ class nsISupports;
|
||||
#undef NS_BUILD_REFCNT_LOGGING
|
||||
#endif
|
||||
|
||||
// Disable refcnt logging if we are in xpcom glue
|
||||
// Bug #151072
|
||||
#if defined(XPCOM_GLUE)
|
||||
#undef NS_BUILD_REFCNT_LOGGING
|
||||
#endif
|
||||
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
|
||||
#define NS_LOG_ADDREF(_p, _rc, _type, _size) \
|
||||
|
||||
@ -49,16 +49,6 @@
|
||||
|
||||
#ifdef XPCOM_GLUE
|
||||
// nsTraceRefcnt needs a cleaning...
|
||||
#undef NS_LOG_ADDREF
|
||||
#undef NS_LOG_RELEASE
|
||||
#undef NS_LOG_NEW_XPCOM
|
||||
#undef NS_LOG_DELETE_XPCOM
|
||||
#undef NS_LOG_ADDREF_CALL
|
||||
#undef NS_LOG_RELEASE_CALL
|
||||
#undef MOZ_DECL_CTOR_COUNTER
|
||||
#undef MOZ_COUNT_CTOR
|
||||
#undef MOZ_COUNT_DTOR
|
||||
|
||||
#define NS_LOG_ADDREF(_p, _rc, _type, _size)
|
||||
#define NS_LOG_RELEASE(_p, _rc, _type)
|
||||
#define NS_LOG_NEW_XPCOM(_p,_type,_size,_file,_line)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user