Reland bug 326603, which got accidentally backed out by the landing of bug

313309.
This commit is contained in:
bzbarsky%mit.edu 2007-04-18 19:27:39 +00:00
Родитель d37fb0c33a
Коммит b49df4390c
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -787,13 +787,17 @@ public: \
#define NS_IMPL_ADDREF_INHERITED(Class, Super) \
NS_IMETHODIMP_(nsrefcnt) Class::AddRef(void) \
{ \
return Super::AddRef(); \
nsrefcnt r = Super::AddRef(); \
NS_LOG_ADDREF(this, r, #Class, sizeof(*this)); \
return r; \
} \
#define NS_IMPL_RELEASE_INHERITED(Class, Super) \
NS_IMETHODIMP_(nsrefcnt) Class::Release(void) \
{ \
return Super::Release(); \
nsrefcnt r = Super::Release(); \
NS_LOG_RELEASE(this, r, #Class); \
return r; \
} \
#define NS_IMPL_QUERY_INTERFACE_INHERITED0(Class, Super) \