Index: storage/browser/fileapi/async_file_util_adapter.cc |
diff --git a/storage/browser/fileapi/async_file_util_adapter.cc b/storage/browser/fileapi/async_file_util_adapter.cc |
index 7d324c006f8abb74bf22373ca7464a7202bf56f1..ed8f84f9a72866836ff7dbc0744ad66d0566d6f0 100644 |
--- a/storage/browser/fileapi/async_file_util_adapter.cc |
+++ b/storage/browser/fileapi/async_file_util_adapter.cc |
@@ -86,7 +86,7 @@ class GetFileInfoHelper { |
void ReadDirectoryHelper(FileSystemFileUtil* file_util, |
FileSystemOperationContext* context, |
const FileSystemURL& url, |
- base::SingleThreadTaskRunner* origin_loop, |
+ base::SingleThreadTaskRunner* origin_runner, |
const AsyncFileUtil::ReadDirectoryCallback& callback) { |
base::File::Info file_info; |
base::FilePath platform_path; |
@@ -98,7 +98,7 @@ void ReadDirectoryHelper(FileSystemFileUtil* file_util, |
std::vector<DirectoryEntry> entries; |
if (error != base::File::FILE_OK) { |
- origin_loop->PostTask( |
+ origin_runner->PostTask( |
FROM_HERE, base::Bind(callback, error, entries, false /* has_more */)); |
return; |
} |
@@ -121,13 +121,13 @@ void ReadDirectoryHelper(FileSystemFileUtil* file_util, |
entries.push_back(entry); |
if (entries.size() == kResultChunkSize) { |
- origin_loop->PostTask( |
+ origin_runner->PostTask( |
FROM_HERE, base::Bind(callback, base::File::FILE_OK, entries, |
true /* has_more */)); |
entries.clear(); |
} |
} |
- origin_loop->PostTask( |
+ origin_runner->PostTask( |
FROM_HERE, base::Bind(callback, base::File::FILE_OK, entries, |
false /* has_more */)); |
} |