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. |