mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Rename CefBase to CefBaseRefCounted (issue #2090)
This commit is contained in:
@ -50,7 +50,7 @@
|
||||
///
|
||||
// All ref-counted framework classes must extend this class.
|
||||
///
|
||||
class CefBase {
|
||||
class CefBaseRefCounted {
|
||||
public:
|
||||
///
|
||||
// Called to increment the reference count for the object. Should be called
|
||||
@ -70,7 +70,7 @@ class CefBase {
|
||||
virtual bool HasOneRef() const =0;
|
||||
|
||||
protected:
|
||||
virtual ~CefBase() {}
|
||||
virtual ~CefBaseRefCounted() {}
|
||||
};
|
||||
|
||||
///
|
||||
@ -148,7 +148,7 @@ class CefRefCount {
|
||||
// #include "include/base/cef_lock.h"
|
||||
//
|
||||
// // Class declaration.
|
||||
// class MyClass : public CefBase {
|
||||
// class MyClass : public CefBaseRefCounted {
|
||||
// public:
|
||||
// MyClass() : value_(0) {}
|
||||
// // Method that may be called on multiple threads.
|
||||
|
Reference in New Issue
Block a user