Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc |
index 04280b08bc719bd4a41a9f8480761e859d8ead81..5545638f44db364ccc55eb5c4df90a720657ea33 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc |
@@ -78,7 +78,8 @@ void AddInt64ToListPref(size_t index, |
int64_t length, |
base::ListValue* list_update) { |
int64_t value = GetInt64PrefValue(*list_update, index) + length; |
- list_update->Set(index, new base::Value(base::Int64ToString(value))); |
+ list_update->Set(index, |
+ base::MakeUnique<base::Value>(base::Int64ToString(value))); |
} |
// DailyContentLengthUpdate maintains a data saving pref. The pref is a list |