Rename CefBase to CefBaseRefCounted (issue #2090)

This commit is contained in:
Marshall Greenblatt
2017-02-09 17:07:43 -05:00
parent 07ba48b082
commit 0afcb82ee6
679 changed files with 2066 additions and 1962 deletions

View File

@@ -21,12 +21,12 @@
#include <vector>
#include "include/cef_v8.h"
#include "include/capi/cef_v8_capi.h"
#include "libcef_dll/ctocpp/ctocpp.h"
#include "libcef_dll/ctocpp/ctocpp_ref_counted.h"
// Wrap a C structure with a C++ class.
// This class may be instantiated and accessed wrapper-side only.
class CefV8ValueCToCpp
: public CefCToCpp<CefV8ValueCToCpp, CefV8Value, cef_v8value_t> {
: public CefCToCppRefCounted<CefV8ValueCToCpp, CefV8Value, cef_v8value_t> {
public:
CefV8ValueCToCpp();
@@ -68,8 +68,8 @@ class CefV8ValueCToCpp
bool SetValue(const CefString& key, AccessControl settings,
PropertyAttribute attribute) OVERRIDE;
bool GetKeys(std::vector<CefString>& keys) OVERRIDE;
bool SetUserData(CefRefPtr<CefBase> user_data) OVERRIDE;
CefRefPtr<CefBase> GetUserData() OVERRIDE;
bool SetUserData(CefRefPtr<CefBaseRefCounted> user_data) OVERRIDE;
CefRefPtr<CefBaseRefCounted> GetUserData() OVERRIDE;
int GetExternallyAllocatedMemory() OVERRIDE;
int AdjustExternallyAllocatedMemory(int change_in_bytes) OVERRIDE;
int GetArrayLength() OVERRIDE;