Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc |
index 36bc1ece6f42d23e418fbfd6e3b686758849da5c..90476c4db2bda554e0ae9b86cf1038dc83b26998 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc |
@@ -124,7 +124,7 @@ void DataReductionProxySettingsTestBase::CheckOnPrefChange( |
if (managed) { |
test_context_->pref_service()->SetManagedPref( |
test_context_->GetDataReductionProxyEnabledPrefName(), |
- new base::Value(enabled)); |
+ base::MakeUnique<base::Value>(enabled)); |
} else { |
test_context_->SetDataReductionProxyEnabled(enabled); |
} |