| 161 | } |
| 162 | |
| 163 | static int CALLBACK _Base_Release(cef_base_ref_counted_t *_) noexcept { |
| 164 | CefRefCount *self = reinterpret_cast<CefRefCount *>(_); |
| 165 | if (--self->ref_ == 0) { |
| 166 | self->self_delete_(_); |
| 167 | return 1; |
| 168 | } |
| 169 | return 0; |
| 170 | } |
| 171 | |
| 172 | static int CALLBACK _Base_HasOneRef(cef_base_ref_counted_t *_) noexcept { |
| 173 | return reinterpret_cast<CefRefCount *>(_)->ref_ == 1; |
nothing calls this directly
no outgoing calls
no test coverage detected