| Index: crypto/ec_signature_creator_unittest.cc
|
| diff --git a/crypto/ec_signature_creator_unittest.cc b/crypto/ec_signature_creator_unittest.cc
|
| index 5aa27f21f64a854edc9cc7c5abbd8cfeb5dab498..018ba54a23cab185c49aceac0b4483d899cf737a 100644
|
| --- a/crypto/ec_signature_creator_unittest.cc
|
| +++ b/crypto/ec_signature_creator_unittest.cc
|
| @@ -6,10 +6,10 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| #include <string>
|
| #include <vector>
|
|
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "crypto/ec_private_key.h"
|
| #include "crypto/signature_verifier.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -19,7 +19,7 @@
|
|
|
| TEST(ECSignatureCreatorTest, BasicTest) {
|
| // Do a verify round trip.
|
| - scoped_ptr<crypto::ECPrivateKey> key_original(
|
| + std::unique_ptr<crypto::ECPrivateKey> key_original(
|
| crypto::ECPrivateKey::Create());
|
| ASSERT_TRUE(key_original.get());
|
|
|
| @@ -29,13 +29,13 @@ TEST(ECSignatureCreatorTest, BasicTest) {
|
| std::vector<uint8_t> pubkey_info;
|
| ASSERT_TRUE(key_original->ExportPublicKey(&pubkey_info));
|
|
|
| - scoped_ptr<crypto::ECPrivateKey> key(
|
| + std::unique_ptr<crypto::ECPrivateKey> key(
|
| crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
|
| std::string(), key_info, pubkey_info));
|
| ASSERT_TRUE(key.get());
|
| ASSERT_TRUE(key->key() != NULL);
|
|
|
| - scoped_ptr<crypto::ECSignatureCreator> signer(
|
| + std::unique_ptr<crypto::ECSignatureCreator> signer(
|
| crypto::ECSignatureCreator::Create(key.get()));
|
| ASSERT_TRUE(signer.get());
|
|
|
|
|