| Index: net/cert/cert_database_nss.cc
|
| diff --git a/net/cert/cert_database_nss.cc b/net/cert/cert_database_nss.cc
|
| index 5fa272134a257ac5134e80be5376efee03c2bee1..0731082b26cd84ba29dad904860d8a5add3a9d13 100644
|
| --- a/net/cert/cert_database_nss.cc
|
| +++ b/net/cert/cert_database_nss.cc
|
| @@ -19,6 +19,7 @@
|
|
|
| namespace net {
|
|
|
| +/* XXX
|
| // Helper that observes events from the NSSCertDatabase and forwards them to
|
| // the given CertDatabase.
|
| class CertDatabase::Notifier : public NSSCertDatabase::Observer {
|
| @@ -49,12 +50,17 @@ class CertDatabase::Notifier : public NSSCertDatabase::Observer {
|
|
|
| DISALLOW_COPY_AND_ASSIGN(Notifier);
|
| };
|
| +*/
|
|
|
| CertDatabase::CertDatabase()
|
| : observer_list_(new ObserverListThreadSafe<Observer>) {
|
| + // XXX
|
| // Observe NSSCertDatabase events and forward them to observers of
|
| // CertDatabase. This also makes sure that NSS has been initialized.
|
| - notifier_.reset(new Notifier(this));
|
| + //notifier_.reset(new Notifier(this));
|
| +
|
| + // This makes sure that NSS has been initialized.
|
| + NSSCertDatabase::GetInstance();
|
| }
|
|
|
| CertDatabase::~CertDatabase() {}
|
|
|