Tweaked call of log_release

This commit is contained in:
kipp%netscape.com 1999-10-07 00:32:25 +00:00
parent 790ccf8ff7
commit 26fb1296d8
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;