| Index: net/base/multi_threaded_cert_verifier.cc
|
| diff --git a/net/base/multi_threaded_cert_verifier.cc b/net/base/multi_threaded_cert_verifier.cc
|
| index 63d320ea27bef97c073269c912ea8a5ce74f7bff..46a9e9be2d45a220e2058f66952f4c73af8d55f4 100644
|
| --- a/net/base/multi_threaded_cert_verifier.cc
|
| +++ b/net/base/multi_threaded_cert_verifier.cc
|
| @@ -22,7 +22,7 @@
|
| #include "net/base/x509_certificate.h"
|
| #include "net/base/x509_certificate_net_log_param.h"
|
|
|
| -#if defined(USE_NSS)
|
| +#if defined(USE_NSS) || defined(OS_IOS)
|
| #include <private/pprthred.h> // PR_DetachThread
|
| #endif
|
|
|
| @@ -224,7 +224,7 @@ class CertVerifierWorker {
|
| // Runs on a worker thread.
|
| error_ = verify_proc_->Verify(cert_, hostname_, flags_, crl_set_,
|
| &verify_result_);
|
| -#if defined(USE_NSS)
|
| +#if defined(USE_NSS) || defined(OS_IOS)
|
| // Detach the thread from NSPR.
|
| // Calling NSS functions attaches the thread to NSPR, which stores
|
| // the NSPR thread ID in thread-specific data.
|
|
|