commit | 0579ed631fb37de5704b54ed2ee466bf29630ad0 | [log] [tgz] |
---|---|---|
author | Jeremy Roman <[email protected]> | Tue Aug 29 15:56:19 2017 |
committer | Commit Bot <[email protected]> | Tue Aug 29 15:56:19 2017 |
tree | da42512d8f5aeae95ecfb03b638b001fcab09c2a | |
parent | d65ba5faf97ad45fe61ad1f0909bebf470cf0e62 [diff] [blame] |
Replace base::MakeUnique with std::make_unique in net/. base/memory/ptr_util.h includes will be cleaned up later. Bug: 755727 Change-Id: Ibaf46f05c9b02b76f9a91e819984b087a8c0d434 Reviewed-on: https://chromium-review.googlesource.com/627300 Commit-Queue: Jeremy Roman <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Bence Béky <[email protected]> Cr-Commit-Position: refs/heads/master@{#498123}
diff --git a/net/reporting/reporting_service.cc b/net/reporting/reporting_service.cc index 8be14d66..12dc140 100644 --- a/net/reporting/reporting_service.cc +++ b/net/reporting/reporting_service.cc
@@ -69,14 +69,14 @@ std::unique_ptr<ReportingService> ReportingService::Create( const ReportingPolicy& policy, URLRequestContext* request_context) { - return base::MakeUnique<ReportingServiceImpl>( + return std::make_unique<ReportingServiceImpl>( ReportingContext::Create(policy, request_context)); } // static std::unique_ptr<ReportingService> ReportingService::CreateForTesting( std::unique_ptr<ReportingContext> reporting_context) { - return base::MakeUnique<ReportingServiceImpl>(std::move(reporting_context)); + return std::make_unique<ReportingServiceImpl>(std::move(reporting_context)); } } // namespace net