mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-03 12:37:36 +01:00
f7aa98fe69
- Building on Windows now requires the Windows 10.0.10586 SDK. - Remove CefParseCSSColor which was implemented using Blink code in the browser process. This is longer advisable now that the Oilpan GC is enabled. - Avoid potential renderer process crashes by disabling script actions on the CefV8Context passed to CefRenderProcessHandler::OnContextReleased.
18 lines
854 B
Diff
18 lines
854 B
Diff
diff --git supports_user_data.h supports_user_data.h
|
|
index ab40c1b..2b145e8 100644
|
|
--- supports_user_data.h
|
|
+++ supports_user_data.h
|
|
@@ -33,9 +33,9 @@ class BASE_EXPORT SupportsUserData {
|
|
// Multiple user data values can be stored under different keys.
|
|
// This object will TAKE OWNERSHIP of the given data pointer, and will
|
|
// delete the object if it is changed or the object is destroyed.
|
|
- Data* GetUserData(const void* key) const;
|
|
- void SetUserData(const void* key, Data* data);
|
|
- void RemoveUserData(const void* key);
|
|
+ virtual Data* GetUserData(const void* key) const;
|
|
+ virtual void SetUserData(const void* key, Data* data);
|
|
+ virtual void RemoveUserData(const void* key);
|
|
|
|
// SupportsUserData is not thread-safe, and on debug build will assert it is
|
|
// only used on one thread. Calling this method allows the caller to hand
|