| 52 | } |
| 53 | |
| 54 | bool RefCountedThreadSafeBase::HasOneRef() const { |
| 55 | return base::RefCountIsOne( |
| 56 | &const_cast<RefCountedThreadSafeBase*>(this)->ref_count_); |
| 57 | } |
| 58 | |
| 59 | RefCountedThreadSafeBase::RefCountedThreadSafeBase() : ref_count_(0) { |
| 60 | #ifndef NDEBUG |