| 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 dd86b9a5e43b81dccd1ffe0188b8851f72734de6..9ae8560cf196424a53f8b3f868dc439b9bc18409 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
|
| +++ b/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
|
| @@ -95,10 +95,7 @@ void SyncWorker::RegisterOrigin(
|
| }
|
|
|
| task_manager_->ScheduleSyncTask(
|
| - FROM_HERE,
|
| - task.PassAs<SyncTask>(),
|
| - SyncTaskManager::PRIORITY_HIGH,
|
| - callback);
|
| + FROM_HERE, task.Pass(), SyncTaskManager::PRIORITY_HIGH, callback);
|
| }
|
|
|
| void SyncWorker::EnableOrigin(
|
|
|