2015-09-11 14:14:45 +02:00
|
|
|
diff --git supports_user_data.h supports_user_data.h
|
2016-04-27 22:38:52 +02:00
|
|
|
index a9f1c93..48d88fa 100644
|
2015-09-11 14:14:45 +02:00
|
|
|
--- supports_user_data.h
|
|
|
|
+++ supports_user_data.h
|
2016-01-06 20:20:54 +01:00
|
|
|
@@ -33,9 +33,9 @@ class BASE_EXPORT SupportsUserData {
|
2015-09-11 14:14:45 +02:00
|
|
|
// 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
|