| Index: chrome/browser/chromeos/policy/policy_cert_verifier.cc
|
| diff --git a/chrome/browser/chromeos/policy/policy_cert_verifier.cc b/chrome/browser/chromeos/policy/policy_cert_verifier.cc
|
| index 947f4dcca5bd22a740986eaeaa474097ed1c05bf..1c8d5f3c79663d65884e98f198f6c8e49a9be910 100644
|
| --- a/chrome/browser/chromeos/policy/policy_cert_verifier.cc
|
| +++ b/chrome/browser/chromeos/policy/policy_cert_verifier.cc
|
| @@ -49,16 +49,15 @@ PolicyCertVerifier::~PolicyCertVerifier() {
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
|
| }
|
|
|
| -void PolicyCertVerifier::InitializeOnIOThread() {
|
| +void PolicyCertVerifier::InitializeOnIOThread(
|
| + const scoped_refptr<net::CertVerifyProc>& verify_proc) {
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
|
| - scoped_refptr<net::CertVerifyProc> verify_proc =
|
| - net::CertVerifyProc::CreateDefault();
|
| if (!verify_proc->SupportsAdditionalTrustAnchors()) {
|
| LOG(WARNING)
|
| << "Additional trust anchors not supported on the current platform!";
|
| }
|
| net::MultiThreadedCertVerifier* verifier =
|
| - new net::MultiThreadedCertVerifier(verify_proc.get());
|
| + new net::MultiThreadedCertVerifier(verify_proc);
|
| verifier->SetCertTrustAnchorProvider(this);
|
| delegate_.reset(verifier);
|
| }
|
|
|