| 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 fdf29e9a7854ab07f2cb7816e1ee738bbdb6597f..15efd1f8ba4174ccda7b6ac8aae3f59d36382a93 100644
|
| --- a/components/ownership/owner_key_util_impl.cc
|
| +++ b/components/ownership/owner_key_util_impl.cc
|
| @@ -47,8 +47,7 @@ bool OwnerKeyUtilImpl::ImportPublicKey(std::vector<uint8>* output) {
|
|
|
| // Get the key data off of disk
|
| int data_read =
|
| - base::ReadFile(public_key_file_,
|
| - reinterpret_cast<char*>(vector_as_array(output)),
|
| + base::ReadFile(public_key_file_, reinterpret_cast<char*>(output->data()),
|
| safe_file_size);
|
| return data_read == safe_file_size;
|
| }
|
|
|