No longer save the IO message loop in net::EnsureNSSHttpIOInit

https://chromium-review.googlesource.com/c/chromium/src/+/963762
This commit is contained in:
deepak1556 2018-07-21 03:16:11 +05:30 committed by Aleksei Kuzmin
parent ed045c10ee
commit 67f6e21bd2

View file

@ -36,14 +36,12 @@ void IOThread::Init() {
url_request_context_getter_->AddRef();
#if defined(USE_NSS_CERTS)
net::SetMessageLoopForNSSHttpIO();
net::SetURLRequestContextForNSSHttpIO(url_request_context_.get());
#endif
}
void IOThread::CleanUp() {
#if defined(USE_NSS_CERTS)
net::ShutdownNSSHttpIO();
net::SetURLRequestContextForNSSHttpIO(nullptr);
#endif
// Explicitly release before the IO thread gets destroyed.