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 0518b73fce491f2269d56ffa15344232907a50bf..90d4d1effa7f776214a83f9dc32cdf1bbe67657c 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 |
@@ -79,7 +79,8 @@ scoped_ptr<FileMetadata> GetFileMetadata(MetadataDatabase* database, |
// Creates a temporary file in |dir_path|. This must be called on an |
// IO-allowed task runner, and the runner must be given as |file_task_runner|. |
-storage::ScopedFile CreateTemporaryFile(base::TaskRunner* file_task_runner) { |
+storage::ScopedFile CreateTemporaryFile( |
+ const scoped_refptr<base::TaskRunner>& file_task_runner) { |
base::FilePath temp_file_path; |
if (!base::CreateTemporaryFile(&temp_file_path)) |
return storage::ScopedFile(); |