| 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 7a7dd283b0dec3c4268319a93e9452380ed51038..60740528147dd94b3273e7a304012e5f9ffec06e 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_));
|
| }
|
| }
|
| }
|
|
|