Sign in
skia
/
skia
/
f955223
/
.
/
tools
/
RefCntIs.cpp
blob: 48154b045c3b4dd460e78821a613b762984c4c1e [
file
] [
log
] [
blame
]
#include
"RefCntIs.h"
bool
RefCntIs
(
const
SkRefCntBase
&
obj
,
int32_t
n
)
{
return
obj
.
fRefCnt
==
n
;
}
bool
WeakRefCntIs
(
const
SkWeakRefCnt
&
obj
,
int32_t
n
)
{
return
obj
.
fWeakCnt
==
n
;
}