зеркало из https://github.com/mozilla/gecko-dev.git
Reland bug 326603, which got accidentally backed out by the landing of bug313309.
This commit is contained in:
Родитель
7d791ba12b
Коммит
ff22fdf79c
|
@ -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) \
|
||||
|
|
Загрузка…
Ссылка в новой задаче