| Index: components/sync/engine_impl/model_type_registry.cc
|
| diff --git a/components/sync/engine_impl/model_type_registry.cc b/components/sync/engine_impl/model_type_registry.cc
|
| index 7a8d0f73b9fd45e25f9319b7f03ea28598ee16db..e6b3fba780e3445e5d011d852c4a2debc2f5c16c 100644
|
| --- a/components/sync/engine_impl/model_type_registry.cc
|
| +++ b/components/sync/engine_impl/model_type_registry.cc
|
| @@ -303,7 +303,7 @@ void ModelTypeRegistry::OnEncryptionStateChanged() {
|
| it != model_type_workers_.end(); ++it) {
|
| if (encrypted_types_.Has((*it)->GetModelType())) {
|
| (*it)->UpdateCryptographer(
|
| - base::WrapUnique(new Cryptographer(*cryptographer_)));
|
| + base::MakeUnique<Cryptographer>(*cryptographer_));
|
| }
|
| }
|
| }
|
|
|