| Index: components/sync/model_impl/model_type_store_backend.cc
|
| diff --git a/components/sync/model_impl/model_type_store_backend.cc b/components/sync/model_impl/model_type_store_backend.cc
|
| index a277b82f8cc0918bceae1263691540fafa80bded..489b9c2ccded02abc63d4348e8937b1e72876189 100644
|
| --- a/components/sync/model_impl/model_type_store_backend.cc
|
| +++ b/components/sync/model_impl/model_type_store_backend.cc
|
| @@ -187,7 +187,7 @@ leveldb::Status ModelTypeStoreBackend::OpenDatabase(const std::string& path,
|
| if (env)
|
| options.env = env;
|
|
|
| - leveldb::Status status = leveldb::DB::Open(options, path, &db_raw);
|
| + leveldb::Status status = leveldb_env::DBRegistry::Open(options, path, &db_raw);
|
| DCHECK(status.ok() != (db_raw == nullptr));
|
| if (status.ok())
|
| db_.reset(db_raw);
|
|
|