| Index: net/cert/scoped_nss_types.h
|
| diff --git a/net/cert/scoped_nss_types.h b/net/cert/scoped_nss_types.h
|
| index 0eb8d844f9db18c4e248f934d9e5646fe8338786..98906b05f558f32118791b89c0ec6f6f831895d1 100644
|
| --- a/net/cert/scoped_nss_types.h
|
| +++ b/net/cert/scoped_nss_types.h
|
| @@ -17,7 +17,15 @@ struct FreeCERTCertificate {
|
| }
|
| };
|
|
|
| -typedef scoped_ptr<CERTCertificate, FreeCERTCertificate> ScopedCERTCertificate;
|
| +struct FreeCERTCertificateList {
|
| + void operator()(CERTCertificateList* x) const {
|
| + CERT_DestroyCertificateList(x);
|
| + }
|
| +};
|
| +
|
| +using ScopedCERTCertificate = scoped_ptr<CERTCertificate, FreeCERTCertificate>;
|
| +using ScopedCERTCertificateList =
|
| + scoped_ptr<CERTCertificateList, FreeCERTCertificateList>;
|
|
|
| } // namespace net
|
|
|
|
|