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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_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
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc
index 27250798a03a19635fe4ebe200a3625c6088b6a1..fd614a6d52add1898990dbf6da97e44beb71f3fb 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc
@@ -107,8 +107,8 @@ class DataReductionProxyBypassStatsTest : public testing::Test {
protected:
std::unique_ptr<DataReductionProxyBypassStats> BuildBypassStats() {
- return base::WrapUnique(new DataReductionProxyBypassStats(
- test_context_->config(), test_context_->unreachable_callback()));
+ return base::MakeUnique<DataReductionProxyBypassStats>(
+ test_context_->config(), test_context_->unreachable_callback());
}
net::URLRequest* url_request() {
« no previous file with comments | « no previous file | components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698