diff --git a/libcef_dll/ctocpp/ctocpp_ref_counted.h b/libcef_dll/ctocpp/ctocpp_ref_counted.h index 91260f55d..61703bc76 100644 --- a/libcef_dll/ctocpp/ctocpp_ref_counted.h +++ b/libcef_dll/ctocpp/ctocpp_ref_counted.h @@ -89,7 +89,7 @@ class CefCToCppRefCounted : public BaseName { bool UnderlyingHasAtLeastOneRef() const { cef_base_ref_counted_t* base = reinterpret_cast(GetStruct()); - if (!base->has_one_ref) + if (!base->has_at_least_one_ref) return false; return base->has_at_least_one_ref(base) ? true : false; }