| Index: net/cert/x509_certificate_win.cc
|
| diff --git a/net/cert/x509_certificate_win.cc b/net/cert/x509_certificate_win.cc
|
| index f0c9e502e46b7f8ee4fe7681649b138e484898bb..c3f0a27b77d586806ba4166a233510e0279d926c 100644
|
| --- a/net/cert/x509_certificate_win.cc
|
| +++ b/net/cert/x509_certificate_win.cc
|
| @@ -45,8 +45,9 @@ void ExplodedTimeToSystemTime(const base::Time::Exploded& exploded,
|
|
|
| // Decodes the cert's subjectAltName extension into a CERT_ALT_NAME_INFO
|
| // structure and stores it in *output.
|
| -void GetCertSubjectAltName(PCCERT_CONTEXT cert,
|
| - scoped_ptr_malloc<CERT_ALT_NAME_INFO>* output) {
|
| +void GetCertSubjectAltName(
|
| + PCCERT_CONTEXT cert,
|
| + scoped_ptr<CERT_ALT_NAME_INFO, base::FreeDeleter>* output) {
|
| PCERT_EXTENSION extension = CertFindExtension(szOID_SUBJECT_ALT_NAME2,
|
| cert->pCertInfo->cExtension,
|
| cert->pCertInfo->rgExtension);
|
| @@ -175,7 +176,7 @@ void X509Certificate::GetSubjectAltName(
|
| if (!cert_handle_)
|
| return;
|
|
|
| - scoped_ptr_malloc<CERT_ALT_NAME_INFO> alt_name_info;
|
| + scoped_ptr<CERT_ALT_NAME_INFO, base::FreeDeleter> alt_name_info;
|
| GetCertSubjectAltName(cert_handle_, &alt_name_info);
|
| CERT_ALT_NAME_INFO* alt_name = alt_name_info.get();
|
| if (alt_name) {
|
|
|