| Index: net/cert/scoped_nss_types.h
|
| diff --git a/net/cert/scoped_nss_types.h b/net/cert/scoped_nss_types.h
|
| index 3e6d57d998daeac77016607b85214f45212ad909..0eb8d844f9db18c4e248f934d9e5646fe8338786 100644
|
| --- a/net/cert/scoped_nss_types.h
|
| +++ b/net/cert/scoped_nss_types.h
|
| @@ -1,7 +1,7 @@
|
| // Copyright 2013 The Chromium Authors. All rights reserved.
|
| -// // Use of this source code is governed by a BSD-style license that can be
|
| -// // found in the LICENSE file.
|
| -//
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| #ifndef NET_CERT_SCOPED_NSS_TYPES_H_
|
| #define NET_CERT_SCOPED_NSS_TYPES_H_
|
|
|
| @@ -12,14 +12,12 @@
|
| namespace net {
|
|
|
| struct FreeCERTCertificate {
|
| - public:
|
| void operator()(CERTCertificate* x) const {
|
| CERT_DestroyCertificate(x);
|
| }
|
| };
|
|
|
| -typedef scoped_ptr_malloc<CERTCertificate, FreeCERTCertificate>
|
| - ScopedCERTCertificate;
|
| +typedef scoped_ptr<CERTCertificate, FreeCERTCertificate> ScopedCERTCertificate;
|
|
|
| } // namespace net
|
|
|
|
|