summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_host_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/ssl_host_info.h')
-rw-r--r--net/socket/ssl_host_info.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/socket/ssl_host_info.h b/net/socket/ssl_host_info.h
index b4884a7..c8028d3 100644
--- a/net/socket/ssl_host_info.h
+++ b/net/socket/ssl_host_info.h
@@ -10,6 +10,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "base/memory/weak_ptr.h"
#include "base/time.h"
#include "net/base/cert_verifier.h"
#include "net/base/cert_verify_result.h"
@@ -128,7 +129,7 @@ class NET_EXPORT_PRIVATE SSLHostInfo {
CertVerifyResult cert_verify_result_;
SingleRequestCertVerifier verifier_;
scoped_refptr<X509Certificate> cert_;
- scoped_refptr<CancelableOldCompletionCallback<SSLHostInfo> > callback_;
+ base::WeakPtrFactory<SSLHostInfo> weak_factory_;
DnsRRResolver* dnsrr_resolver_;
OldCompletionCallback* dns_callback_;