Index: net/cert/ct_log_verifier_unittest.cc |
diff --git a/net/cert/ct_log_verifier_unittest.cc b/net/cert/ct_log_verifier_unittest.cc |
index 3b620b5c96c0dd927ec1e45b185b0288092f2313..9221f0663272d0c0d47438ca6e1648113e8f3115 100644 |
--- a/net/cert/ct_log_verifier_unittest.cc |
+++ b/net/cert/ct_log_verifier_unittest.cc |
@@ -6,6 +6,7 @@ |
#include <stdint.h> |
+#include <memory> |
#include <string> |
#include "base/strings/string_number_conversions.h" |
@@ -409,7 +410,7 @@ class TreeHasher { |
SHA256HashValue sha256; |
memset(sha256.data, 0, sizeof(sha256.data)); |
- scoped_ptr<crypto::SecureHash> hash( |
+ std::unique_ptr<crypto::SecureHash> hash( |
crypto::SecureHash::Create(crypto::SecureHash::SHA256)); |
hash->Update(kLeafPrefix, 1); |
hash->Update(leaf.data(), leaf.size()); |