Making it possible to bridge C++ wrapper classes to C (issue #2311).

This commit is contained in:
Tamas Lustyik
2017-11-28 15:57:10 +00:00
committed by Marshall Greenblatt
parent be2160e6c3
commit 85d041c0e2
3 changed files with 4 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class CefCppToCRefCounted : public CefBaseRefCounted {
// Increment/decrement reference counts on only the underlying class.
void UnderlyingAddRef() const { wrapper_struct_.object_->AddRef(); }
bool UnderlyingRelease() const { return wrapper_struct_.object_->Release(); }
void UnderlyingRelease() const { wrapper_struct_.object_->Release(); }
bool UnderlyingHasOneRef() const {
return wrapper_struct_.object_->HasOneRef();
}