| Index: components/sync/engine_impl/model_type_worker_unittest.cc
|
| diff --git a/components/sync/engine_impl/model_type_worker_unittest.cc b/components/sync/engine_impl/model_type_worker_unittest.cc
|
| index f0ab457da8c88b9e9e840985bbdfa06a637d2a38..2e4886d15c83271e626ab8e53832eca2a44ccf52 100644
|
| --- a/components/sync/engine_impl/model_type_worker_unittest.cc
|
| +++ b/components/sync/engine_impl/model_type_worker_unittest.cc
|
| @@ -349,7 +349,7 @@ void ModelTypeWorkerTest::NewForeignEncryptionKey() {
|
| // Update the worker with the latest cryptographer.
|
| if (worker_) {
|
| worker_->UpdateCryptographer(
|
| - base::WrapUnique(new Cryptographer(*cryptographer_)));
|
| + base::MakeUnique<Cryptographer>(*cryptographer_));
|
| }
|
| }
|
|
|
| @@ -365,7 +365,7 @@ void ModelTypeWorkerTest::UpdateLocalCryptographer() {
|
| // Update the worker with the latest cryptographer.
|
| if (worker_) {
|
| worker_->UpdateCryptographer(
|
| - base::WrapUnique(new Cryptographer(*cryptographer_)));
|
| + base::MakeUnique<Cryptographer>(*cryptographer_));
|
| }
|
| }
|
|
|
|
|