| Index: chrome/browser/io_thread.cc
|
| diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
|
| index 682e390c18154e3487fad4cf7a6a7398a427ef59..7ff8c4b0b1e28a29b46d77d749961d486bb1c436 100644
|
| --- a/chrome/browser/io_thread.cc
|
| +++ b/chrome/browser/io_thread.cc
|
| @@ -26,6 +26,9 @@
|
| #include "net/base/net_util.h"
|
| #include "net/http/http_auth_filter.h"
|
| #include "net/http/http_auth_handler_factory.h"
|
| +#if defined(USE_NSS)
|
| +#include "net/ocsp/nss_ocsp.h"
|
| +#endif // defined(USE_NSS)
|
| #include "net/proxy/proxy_script_fetcher.h"
|
|
|
| namespace {
|
| @@ -160,6 +163,12 @@ void IOThread::ChangedToOnTheRecord() {
|
| void IOThread::Init() {
|
| BrowserProcessSubThread::Init();
|
|
|
| + DCHECK_EQ(MessageLoop::TYPE_IO, message_loop()->type());
|
| +
|
| +#if defined(USE_NSS)
|
| + net::SetMessageLoopForOCSP();
|
| +#endif // defined(USE_NSS)
|
| +
|
| DCHECK(!globals_);
|
| globals_ = new Globals;
|
|
|
|
|