fix patches

This commit is contained in:
Jeremy Rose 2021-03-30 10:17:14 -07:00
parent 5d13820441
commit 54e72fa8e3

View file

@ -122,10 +122,10 @@ index 8e53d65ddca7b54a6effd1767257a4d8239251d8..8a00bf59c728217069000b1f1ece72e1
#endif // BUILDFLAG(IS_CHROMEOS_ASH) #endif // BUILDFLAG(IS_CHROMEOS_ASH)
+ auto remote_cert_verifier = std::make_unique<RemoteCertVerifier>(std::move(cert_verifier)); + auto remote_cert_verifier = std::make_unique<RemoteCertVerifier>(std::move(cert_verifier));
+ remote_cert_verifier_ = remote_cert_verifier.get(); + remote_cert_verifier_ = remote_cert_verifier.get();
+ cert_verifier = std::move(remote_cert_verifier); + cert_verifier = std::make_unique<net::CachingCertVerifier>(std::move(remote_cert_verifier));
}
// Whether the cert verifier is remote or in-process, we should wrap it in builder.SetCertVerifier(IgnoreErrorsCertVerifier::MaybeWrapCertVerifier(
// caching and coalescing layers to avoid extra verifications and IPCs.
diff --git a/services/network/network_context.h b/services/network/network_context.h diff --git a/services/network/network_context.h b/services/network/network_context.h
index 72885bc1d20a4da5ad4df3fb8185f05bcf6fbfba..06b1a0d550de946aa41efca2be4efde694cc24c7 100644 index 72885bc1d20a4da5ad4df3fb8185f05bcf6fbfba..06b1a0d550de946aa41efca2be4efde694cc24c7 100644
--- a/services/network/network_context.h --- a/services/network/network_context.h