| Index: chrome/browser/sync_file_system/drive_backend/sync_worker.cc
|
| diff --git a/chrome/browser/sync_file_system/drive_backend/sync_worker.cc b/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
|
| index ab007c416555adeebaf5a7403273b53821b42f4b..31716e3d78413bda3dd292e07b208ddd4f965d99 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
|
| +++ b/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
|
| @@ -290,9 +290,8 @@ void SyncWorker::RecordTaskLog(std::unique_ptr<TaskLogger::TaskLog> task_log) {
|
|
|
| context_->GetUITaskRunner()->PostTask(
|
| FROM_HERE,
|
| - base::Bind(&TaskLogger::RecordLog,
|
| - context_->GetTaskLogger(),
|
| - base::Passed(&task_log)));
|
| + base::BindOnce(&TaskLogger::RecordLog, context_->GetTaskLogger(),
|
| + base::Passed(&task_log)));
|
| }
|
|
|
| void SyncWorker::ActivateService(RemoteServiceState service_state,
|
| @@ -408,13 +407,10 @@ void SyncWorker::UpdateRegisteredApps() {
|
|
|
| context_->GetUITaskRunner()->PostTask(
|
| FROM_HERE,
|
| - base::Bind(&SyncWorker::QueryAppStatusOnUIThread,
|
| - extension_service_,
|
| - base::Owned(app_ids.release()),
|
| - app_status,
|
| - RelayCallbackToTaskRunner(
|
| - context_->GetWorkerTaskRunner(),
|
| - FROM_HERE, callback)));
|
| + base::BindOnce(&SyncWorker::QueryAppStatusOnUIThread, extension_service_,
|
| + base::Owned(app_ids.release()), app_status,
|
| + RelayCallbackToTaskRunner(context_->GetWorkerTaskRunner(),
|
| + FROM_HERE, callback)));
|
| }
|
|
|
| void SyncWorker::QueryAppStatusOnUIThread(
|
|
|