mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
Tweaked call of log_release
This commit is contained in:
parent
790ccf8ff7
commit
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;
|
||||
|
Loading…
Reference in New Issue
Block a user