| Index: chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
|
| diff --git a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
|
| index 90c3bf0a9223af025c20b345f920d2ba0777264d..73ceb901e1a401b90302d3cd9b31a6bb8879d501 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
|
| +++ b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc
|
| @@ -671,9 +671,9 @@ void RemoteToLocalSyncer::DeleteLocalFile(const SyncStatusCallback& callback) {
|
|
|
| void RemoteToLocalSyncer::DownloadFile(const SyncStatusCallback& callback) {
|
| base::PostTaskAndReplyWithResult(
|
| - sync_context_->GetBlockingTaskRunner(), FROM_HERE,
|
| + sync_context_->GetFileTaskRunner(), FROM_HERE,
|
| base::Bind(&sync_file_system::drive_backend::CreateTemporaryFile,
|
| - make_scoped_refptr(sync_context_->GetBlockingTaskRunner())),
|
| + make_scoped_refptr(sync_context_->GetFileTaskRunner())),
|
| base::Bind(&RemoteToLocalSyncer::DidCreateTemporaryFileForDownload,
|
| weak_ptr_factory_.GetWeakPtr(), callback));
|
| }
|
| @@ -703,7 +703,7 @@ void RemoteToLocalSyncer::DidDownloadFile(const SyncStatusCallback& callback,
|
|
|
| base::FilePath path = file.path();
|
| base::PostTaskAndReplyWithResult(
|
| - sync_context_->GetBlockingTaskRunner(), FROM_HERE,
|
| + sync_context_->GetFileTaskRunner(), FROM_HERE,
|
| base::Bind(&drive::util::GetMd5Digest, path),
|
| base::Bind(&RemoteToLocalSyncer::DidCalculateMD5ForDownload,
|
| weak_ptr_factory_.GetWeakPtr(),
|
|
|