summaryrefslogtreecommitdiffstats
path: root/content/browser/ssl/ssl_cert_error_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/ssl/ssl_cert_error_handler.h')
-rw-r--r--content/browser/ssl/ssl_cert_error_handler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/ssl/ssl_cert_error_handler.h b/content/browser/ssl/ssl_cert_error_handler.h
index ac6a3eb..1424651 100644
--- a/content/browser/ssl/ssl_cert_error_handler.h
+++ b/content/browser/ssl/ssl_cert_error_handler.h
@@ -8,6 +8,7 @@
#include <string>
+#include "base/memory/weak_ptr.h"
#include "content/browser/ssl/ssl_error_handler.h"
#include "net/base/ssl_info.h"
@@ -17,7 +18,7 @@
class SSLCertErrorHandler : public SSLErrorHandler {
public:
// Construct on the IO thread.
- SSLCertErrorHandler(Delegate* delegate,
+ SSLCertErrorHandler(base::WeakPtr<Delegate> delegate,
const content::GlobalRequestID& id,
ResourceType::Type resource_type,
const GURL& url,