Index: components/ownership/mock_owner_key_util.cc |
diff --git a/components/ownership/mock_owner_key_util.cc b/components/ownership/mock_owner_key_util.cc |
index e00ef1c451da7c1c6272c3e5b156e284c11659ed..32ed7430fac050bec3bea571c398627c33e8b3c2 100644 |
--- a/components/ownership/mock_owner_key_util.cc |
+++ b/components/ownership/mock_owner_key_util.cc |
@@ -52,7 +52,8 @@ void MockOwnerKeyUtil::SetPublicKeyFromPrivateKey( |
CHECK(key.ExportPublicKey(&public_key_)); |
} |
-void MockOwnerKeyUtil::SetPrivateKey(scoped_ptr<crypto::RSAPrivateKey> key) { |
+void MockOwnerKeyUtil::SetPrivateKey( |
+ std::unique_ptr<crypto::RSAPrivateKey> key) { |
crypto::EnsureNSSInit(); |
CHECK(key->ExportPublicKey(&public_key_)); |