blob: 48154b045c3b4dd460e78821a613b762984c4c1e (
plain)
1
2
3
4
5
6
7
8
9
|
#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;
}
|