| Index: net/cert/internal/path_builder_pkits_unittest.cc
|
| diff --git a/net/cert/internal/path_builder_pkits_unittest.cc b/net/cert/internal/path_builder_pkits_unittest.cc
|
| index a046d1cfe3029b1ae39374e89d3423c8e96b5e27..86345c7c89c8de58a9f48b3947c04c3fab95aec5 100644
|
| --- a/net/cert/internal/path_builder_pkits_unittest.cc
|
| +++ b/net/cert/internal/path_builder_pkits_unittest.cc
|
| @@ -67,7 +67,10 @@ class PathBuilderPkitsTestDelegate {
|
| // First entry in the PKITS chain is the trust anchor.
|
| // TODO(mattm): test with all possible trust anchors in the trust store?
|
| TrustStore trust_store;
|
| - trust_store.AddTrustedCertificate(certs[0]);
|
| +
|
| + scoped_refptr<TrustAnchor> trust_anchor =
|
| + TrustAnchor::CreateFromCertificateNoConstraints(certs[0]);
|
| + trust_store.AddTrustAnchor(std::move(trust_anchor));
|
|
|
| // TODO(mattm): test with other irrelevant certs in cert_issuer_sources?
|
| CertIssuerSourceStatic cert_issuer_source;
|
|
|