| Index: storage/browser/quota/quota_manager.cc
|
| diff --git a/storage/browser/quota/quota_manager.cc b/storage/browser/quota/quota_manager.cc
|
| index 44ba5f1019d3833427b24a81568fddd3afe5ac0b..3a33088698f56997f31b15f4cd4f9b888b3d4087 100644
|
| --- a/storage/browser/quota/quota_manager.cc
|
| +++ b/storage/browser/quota/quota_manager.cc
|
| @@ -1811,16 +1811,15 @@ void QuotaManager::DeleteOnCorrectThread() const {
|
|
|
| void QuotaManager::PostTaskAndReplyWithResultForDBThread(
|
| const tracked_objects::Location& from_here,
|
| - const base::Callback<bool(QuotaDatabase*)>& task,
|
| - const base::Callback<void(bool)>& reply) {
|
| + base::Callback<bool(QuotaDatabase*)> task,
|
| + base::Callback<void(bool)> reply) {
|
| // Deleting manager will post another task to DB thread to delete
|
| // |database_|, therefore we can be sure that database_ is alive when this
|
| // task runs.
|
| base::PostTaskAndReplyWithResult(
|
| - db_thread_.get(),
|
| - from_here,
|
| - base::Bind(task, base::Unretained(database_.get())),
|
| - reply);
|
| + db_thread_.get(), from_here,
|
| + base::Bind(std::move(task), base::Unretained(database_.get())),
|
| + std::move(reply));
|
| }
|
|
|
| // static
|
|
|