Index: chrome/browser/chromeos/attestation/fake_certificate.cc |
diff --git a/chrome/browser/chromeos/attestation/fake_certificate.cc b/chrome/browser/chromeos/attestation/fake_certificate.cc |
index 3603593499211c9e998c04cc09b242c1773954db..1571bde762953afe2b531c5f69a5c3b3fa1df437 100644 |
--- a/chrome/browser/chromeos/attestation/fake_certificate.cc |
+++ b/chrome/browser/chromeos/attestation/fake_certificate.cc |
@@ -59,7 +59,7 @@ bool GetFakeCertificateDER(const base::TimeDelta& expiry, |
if (valid_expiry <= valid_start) { |
valid_start = valid_expiry - base::TimeDelta::FromDays(1); |
} |
- scoped_ptr<crypto::RSAPrivateKey> test_key( |
+ std::unique_ptr<crypto::RSAPrivateKey> test_key( |
crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(std::vector<uint8_t>( |
&kTestKeyData[0], &kTestKeyData[arraysize(kTestKeyData)]))); |
if (!test_key.get()) { |