18 lines
858 B
Diff
18 lines
858 B
Diff
diff --git supports_user_data.h supports_user_data.h
|
|
index a4c7c9f..54a151b 100644
|
|
--- supports_user_data.h
|
|
+++ supports_user_data.h
|
|
@@ -37,9 +37,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 execution sequence. Calling this method allows the caller
|