diff options
Diffstat (limited to 'net/ocsp')
-rw-r--r-- | net/ocsp/nss_ocsp.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/ocsp/nss_ocsp.cc b/net/ocsp/nss_ocsp.cc index 64a446d..5521dc6 100644 --- a/net/ocsp/nss_ocsp.cc +++ b/net/ocsp/nss_ocsp.cc @@ -221,6 +221,12 @@ class OCSPRequestSession } private: + friend class base::RefCountedThreadSafe<OCSPRequestSession>; + + virtual ~OCSPRequestSession() { + DCHECK(!request_); + } + void StartURLRequest() { DCHECK(MessageLoopForIO::current() == io_loop_); DCHECK(!request_); |