Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc |
index e9a5338c84caf64d4a4a6af129491d9dc9d19207..da671d3427219e53a51f8ae239274d81cc57e1cd 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc |
@@ -163,13 +163,12 @@ class DataReductionProxyCompressionStatsTest : public testing::Test { |
for (size_t i = 0; i < kNumDaysInHistory; ++i) { |
original_daily_content_length_list->Set( |
- i, new base::Value(base::SizeTToString(i))); |
+ i, base::MakeUnique<base::Value>(base::SizeTToString(i))); |
} |
received_daily_content_length_list->Clear(); |
for (size_t i = 0; i < kNumDaysInHistory / 2; ++i) { |
- received_daily_content_length_list->Set( |
- i, new base::Value(base::SizeTToString(i))); |
+ received_daily_content_length_list->AppendString(base::SizeTToString(i)); |
} |
} |