| Index: components/leveldb_proto/proto_database_impl.h
|
| diff --git a/components/leveldb_proto/proto_database_impl.h b/components/leveldb_proto/proto_database_impl.h
|
| index 9997d382877a98ac3f7482c7495f20df0783e6bf..42c0dff677fcfa9d9c2f3f12ac78f13087f5f294 100644
|
| --- a/components/leveldb_proto/proto_database_impl.h
|
| +++ b/components/leveldb_proto/proto_database_impl.h
|
| @@ -264,7 +264,7 @@ void ProtoDatabaseImpl<T>::InitWithDatabase(
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| DCHECK(!db_);
|
| DCHECK(database);
|
| - db_.reset(database.release());
|
| + db_ = std::move(database);
|
| bool* success = new bool(false);
|
| task_runner_->PostTaskAndReply(
|
| FROM_HERE, base::Bind(InitFromTaskRunner, base::Unretained(db_.get()),
|
|
|