Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: net/cert/scoped_nss_types.h

Issue 169193002: Convert scoped_ptr_malloc -> scoped_ptr, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/cert/jwk_serializer_nss.cc ('k') | net/cert/x509_cert_types_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « net/cert/jwk_serializer_nss.cc ('k') | net/cert/x509_cert_types_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698