Index: components/sync/model_impl/model_type_store_impl.cc |
diff --git a/components/sync/model_impl/model_type_store_impl.cc b/components/sync/model_impl/model_type_store_impl.cc |
index 49b075cc13de7f88303478fb11506113ce787567..532fe653e149d2a2670ca1df01df90907bf85727 100644 |
--- a/components/sync/model_impl/model_type_store_impl.cc |
+++ b/components/sync/model_impl/model_type_store_impl.cc |
@@ -335,7 +335,7 @@ void ModelTypeStoreImpl::DeleteGlobalMetadata(WriteBatch* write_batch) { |
} |
ModelTypeStoreImpl::WriteBatchImpl::WriteBatchImpl() { |
- leveldb_write_batch_.reset(new leveldb::WriteBatch()); |
+ leveldb_write_batch_ = base::MakeUnique<leveldb::WriteBatch>(); |
} |
ModelTypeStoreImpl::WriteBatchImpl::~WriteBatchImpl() {} |