Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc

Issue 2252113004: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc
index c6bb7edad58ca2f4ad314cdad683fd7eef9ab972..cf10444a3bc69c717846123f823af429e3324ce0 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc
@@ -164,9 +164,9 @@ class DataReductionProxyConfigTest : public testing::Test {
std::unique_ptr<DataReductionProxyConfig> BuildConfig(
std::unique_ptr<DataReductionProxyParams> params) {
- return base::WrapUnique(new DataReductionProxyConfig(
+ return base::MakeUnique<DataReductionProxyConfig>(
task_runner(), test_context_->net_log(), std::move(params),
- test_context_->configurator(), test_context_->event_creator()));
+ test_context_->configurator(), test_context_->event_creator());
}
MockDataReductionProxyConfig* config() {

Powered by Google App Engine
This is Rietveld 408576698