Index: crypto/nss_key_util.cc |
diff --git a/crypto/nss_key_util.cc b/crypto/nss_key_util.cc |
index 3e0348954bb70c8811843c45aa1f53d4afa69a9f..1f726674ec8272017cd187f947c5783d2530550b 100644 |
--- a/crypto/nss_key_util.cc |
+++ b/crypto/nss_key_util.cc |
@@ -9,6 +9,8 @@ |
#include <pk11pub.h> |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/logging.h" |
#include "crypto/nss_util.h" |
@@ -29,7 +31,7 @@ struct PublicKeyInfoDeleter { |
} |
}; |
-typedef scoped_ptr<CERTSubjectPublicKeyInfo, PublicKeyInfoDeleter> |
+typedef std::unique_ptr<CERTSubjectPublicKeyInfo, PublicKeyInfoDeleter> |
ScopedPublicKeyInfo; |
// Decodes |input| as a SubjectPublicKeyInfo and returns a SECItem containing |