include/wrapper/cef_helpers.h [105:120]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - public: \ void AddRef() const override { ref_count_.AddRef(); } \ bool Release() const override { \ if (ref_count_.Release()) { \ Destructor::Destruct(this); \ return true; \ } \ return false; \ } \ bool HasOneRef() const override { return ref_count_.HasOneRef(); } \ bool HasAtLeastOneRef() const override { \ return ref_count_.HasAtLeastOneRef(); \ } \ \ private: \ CefRefCount ref_count_ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - libcef/browser/thread_util.h [83:98]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - public: \ void AddRef() const override { ref_count_.AddRef(); } \ bool Release() const override { \ if (ref_count_.Release()) { \ Destructor::Destruct(this); \ return true; \ } \ return false; \ } \ bool HasOneRef() const override { return ref_count_.HasOneRef(); } \ bool HasAtLeastOneRef() const override { \ return ref_count_.HasAtLeastOneRef(); \ } \ \ private: \ CefRefCount ref_count_ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -