Index: chrome/common/net/x509_certificate_model_nss.cc |
diff --git a/chrome/common/net/x509_certificate_model_nss.cc b/chrome/common/net/x509_certificate_model_nss.cc |
index 51e2642ccb820b652738b2ca324677b0a60ec7ac..9df20a8c9aad3ae985f9a44c4e74f5f2a7534f18 100644 |
--- a/chrome/common/net/x509_certificate_model_nss.cc |
+++ b/chrome/common/net/x509_certificate_model_nss.cc |
@@ -74,14 +74,12 @@ std::string ProcessExtension( |
//////////////////////////////////////////////////////////////////////////////// |
// NSS certificate export functions. |
-class FreeNSSCMSMessage { |
- public: |
+struct NSSCMSMessageDeleter { |
inline void operator()(NSSCMSMessage* x) const { |
NSS_CMSMessage_Destroy(x); |
} |
}; |
-typedef scoped_ptr_malloc<NSSCMSMessage, FreeNSSCMSMessage> |
- ScopedNSSCMSMessage; |
+typedef scoped_ptr<NSSCMSMessage, NSSCMSMessageDeleter> ScopedNSSCMSMessage; |
class FreeNSSCMSSignedData { |
public: |