| Index: storage/browser/quota/quota_manager.cc
|
| diff --git a/storage/browser/quota/quota_manager.cc b/storage/browser/quota/quota_manager.cc
|
| index 0c536bcf8b8f48424a6b4a480ba84364d8356b4c..b9452e44db79f362a9e87023c10f0dfc0006a93e 100644
|
| --- a/storage/browser/quota/quota_manager.cc
|
| +++ b/storage/browser/quota/quota_manager.cc
|
| @@ -1638,16 +1638,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
|
|
|