зеркало из https://github.com/mozilla/gecko-dev.git
Tweaked call of log_release
This commit is contained in:
Родитель
790ccf8ff7
Коммит
26fb1296d8
|
@ -1475,8 +1475,8 @@ nsrefcnt StyleContextImpl::AddRef(void)
|
|||
|
||||
nsrefcnt StyleContextImpl::Release(void)
|
||||
{
|
||||
__log_release((void*) this, mRefCnt, mRefCnt - 1);
|
||||
NS_PRECONDITION(0 != mRefCnt, "dup release");
|
||||
__log_release((void*) this, mRefCnt, mRefCnt - 1);
|
||||
if (--mRefCnt == 0) {
|
||||
NS_DELETEXPCOM(this);
|
||||
return 0;
|
||||
|
|
|
@ -1475,8 +1475,8 @@ nsrefcnt StyleContextImpl::AddRef(void)
|
|||
|
||||
nsrefcnt StyleContextImpl::Release(void)
|
||||
{
|
||||
__log_release((void*) this, mRefCnt, mRefCnt - 1);
|
||||
NS_PRECONDITION(0 != mRefCnt, "dup release");
|
||||
__log_release((void*) this, mRefCnt, mRefCnt - 1);
|
||||
if (--mRefCnt == 0) {
|
||||
NS_DELETEXPCOM(this);
|
||||
return 0;
|
||||
|
|
|
@ -1475,8 +1475,8 @@ nsrefcnt StyleContextImpl::AddRef(void)
|
|||
|
||||
nsrefcnt StyleContextImpl::Release(void)
|
||||
{
|
||||
__log_release((void*) this, mRefCnt, mRefCnt - 1);
|
||||
NS_PRECONDITION(0 != mRefCnt, "dup release");
|
||||
__log_release((void*) this, mRefCnt, mRefCnt - 1);
|
||||
if (--mRefCnt == 0) {
|
||||
NS_DELETEXPCOM(this);
|
||||
return 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче