Index: net/cert/nss_cert_database.cc |
diff --git a/net/cert/nss_cert_database.cc b/net/cert/nss_cert_database.cc |
index 0845dd414f3d108cf2e63cfeb48b5214b843e980..8e9ef4e6f0159078fc8462002d53f5e0f4b3a592 100644 |
--- a/net/cert/nss_cert_database.cc |
+++ b/net/cert/nss_cert_database.cc |
@@ -35,9 +35,9 @@ namespace psm = mozilla_security_manager; |
namespace net { |
NSSCertDatabase::ImportCertFailure::ImportCertFailure( |
- X509Certificate* cert, int err) |
- : certificate(cert), |
- net_error(err) {} |
+ const scoped_refptr<X509Certificate>& cert, |
+ int err) |
+ : certificate(cert), net_error(err) {} |
NSSCertDatabase::ImportCertFailure::~ImportCertFailure() {} |