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

Unified Diff: net/cert/internal/path_builder.cc

Issue 2259823002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « net/base/elements_upload_data_stream_unittest.cc ('k') | net/cert/internal/signature_algorithm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/path_builder.cc
diff --git a/net/cert/internal/path_builder.cc b/net/cert/internal/path_builder.cc
index 2f1f81a642871a534411e52be7b8597b81911e07..36cd9d45f8d97bf2c5ae27fbec47cb9bda3ee4f4 100644
--- a/net/cert/internal/path_builder.cc
+++ b/net/cert/internal/path_builder.cc
@@ -576,8 +576,8 @@ CompletionStatus CertPathIter::DoGetNextIssuerComplete() {
return CompletionStatus::SYNC;
}
- cur_path_.Append(base::WrapUnique(new CertIssuersIter(
- std::move(next_issuer_.cert), &cert_issuer_sources_, trust_store_)));
+ cur_path_.Append(base::MakeUnique<CertIssuersIter>(
+ std::move(next_issuer_.cert), &cert_issuer_sources_, trust_store_));
next_issuer_ = CertificateOrTrustAnchor();
DVLOG(1) << "CertPathIter cur_path_ = " << cur_path_.PathDebugString();
// Continue descending the tree.
« no previous file with comments | « net/base/elements_upload_data_stream_unittest.cc ('k') | net/cert/internal/signature_algorithm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698