| Index: chrome/browser/media_galleries/fileapi/native_media_file_util.cc
|
| diff --git a/chrome/browser/media_galleries/fileapi/native_media_file_util.cc b/chrome/browser/media_galleries/fileapi/native_media_file_util.cc
|
| index 810a26d892b1312eb4d18df076f6defed5a1c62d..7faa1c8661c7bf6d8f666619c7dd5d488b879b7f 100644
|
| --- a/chrome/browser/media_galleries/fileapi/native_media_file_util.cc
|
| +++ b/chrome/browser/media_galleries/fileapi/native_media_file_util.cc
|
| @@ -27,7 +27,7 @@ namespace {
|
|
|
| // Returns true if the current thread is capable of doing IO.
|
| bool IsOnTaskRunnerThread(storage::FileSystemOperationContext* context) {
|
| - return context->task_runner()->RunsTasksOnCurrentThread();
|
| + return context->task_runner()->RunsTasksInCurrentSequence();
|
| }
|
|
|
| base::File::Error IsMediaHeader(const char* buf, size_t length) {
|
|
|