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

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc

Issue 2334613003: Re-write many calls to WrapUnique() with MakeUnique() (Closed)
Patch Set: Changes from review by sky Created 4 years, 3 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: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc
index 0145c34372cabb459286067a3df61b745cdad1fb..656e55cdc645dc4216688ab7b37ddf76268b98b8 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc
@@ -204,10 +204,10 @@ void DataReductionProxyChromeSettings::InitDataReductionProxySettings(
#endif
std::unique_ptr<data_reduction_proxy::DataReductionProxyService> service =
- base::WrapUnique(new data_reduction_proxy::DataReductionProxyService(
+ base::MakeUnique<data_reduction_proxy::DataReductionProxyService>(
this, profile_prefs, request_context_getter, std::move(store),
ui_task_runner, io_data->io_task_runner(), db_task_runner,
- commit_delay));
+ commit_delay);
data_reduction_proxy::DataReductionProxySettings::
InitDataReductionProxySettings(data_reduction_proxy_enabled_pref_name_,
profile_prefs, io_data,

Powered by Google App Engine
This is Rietveld 408576698