Index: components/ownership/owner_key_util_impl.cc |
diff --git a/components/ownership/owner_key_util_impl.cc b/components/ownership/owner_key_util_impl.cc |
index 0d36ede6e6608bfb63b3c983cae69a057ce42d1e..04547cee2b095600e8a85adc544266fac5daa5ea 100644 |
--- a/components/ownership/owner_key_util_impl.cc |
+++ b/components/ownership/owner_key_util_impl.cc |
@@ -63,7 +63,7 @@ crypto::ScopedSECKEYPrivateKey OwnerKeyUtilImpl::FindPrivateKeyInSlot( |
crypto::FindNSSKeyFromPublicKeyInfoInSlot(key, slot)); |
if (!private_key || SECKEY_GetPrivateKeyType(private_key.get()) != rsaKey) |
return nullptr; |
- return private_key.Pass(); |
+ return private_key; |
} |
bool OwnerKeyUtilImpl::IsPublicKeyPresent() { |