No longer save the IO message loop in net::EnsureNSSHttpIOInit
https://chromium-review.googlesource.com/c/chromium/src/+/963762
This commit is contained in:
parent
ed045c10ee
commit
67f6e21bd2
1 changed files with 0 additions and 2 deletions
|
@ -36,14 +36,12 @@ void IOThread::Init() {
|
||||||
url_request_context_getter_->AddRef();
|
url_request_context_getter_->AddRef();
|
||||||
|
|
||||||
#if defined(USE_NSS_CERTS)
|
#if defined(USE_NSS_CERTS)
|
||||||
net::SetMessageLoopForNSSHttpIO();
|
|
||||||
net::SetURLRequestContextForNSSHttpIO(url_request_context_.get());
|
net::SetURLRequestContextForNSSHttpIO(url_request_context_.get());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void IOThread::CleanUp() {
|
void IOThread::CleanUp() {
|
||||||
#if defined(USE_NSS_CERTS)
|
#if defined(USE_NSS_CERTS)
|
||||||
net::ShutdownNSSHttpIO();
|
|
||||||
net::SetURLRequestContextForNSSHttpIO(nullptr);
|
net::SetURLRequestContextForNSSHttpIO(nullptr);
|
||||||
#endif
|
#endif
|
||||||
// Explicitly release before the IO thread gets destroyed.
|
// Explicitly release before the IO thread gets destroyed.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue