Index: gpu/config/gpu_control_list.h |
diff --git a/gpu/config/gpu_control_list.h b/gpu/config/gpu_control_list.h |
index a5abf5236347bf0b6210c702265e4c427dd6103d..bd868eaa68999fc3f788f71714e0eba72cad53b4 100644 |
--- a/gpu/config/gpu_control_list.h |
+++ b/gpu/config/gpu_control_list.h |
@@ -244,8 +244,9 @@ class GPU_EXPORT GpuControlList { |
typedef base::hash_map<std::string, int> FeatureMap; |
+ // TODO(mgiuca): Avoid using UnsafeRefCounted. http://crbug.com/469952. |
class GPU_EXPORT GpuControlListEntry |
- : public base::RefCounted<GpuControlListEntry> { |
+ : public base::UnsafeRefCounted<GpuControlListEntry> { |
public: |
// Constructs GpuControlListEntry from DictionaryValue loaded from json. |
// Top-level entry must have an id number. Others are exceptions. |
@@ -293,7 +294,7 @@ class GPU_EXPORT GpuControlList { |
bool supports_feature_type_all) const; |
private: |
- friend class base::RefCounted<GpuControlListEntry>; |
+ friend class base::UnsafeRefCounted<GpuControlListEntry>; |
enum MultiGpuStyle { |
kMultiGpuStyleOptimus, |