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

This commit is contained in:
bzbarsky@mit.edu 2007-04-18 12:27:39 -07:00
Родитель 7d791ba12b
Коммит ff22fdf79c
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) \