From edb7bc65726f3c3576388d4552bdb6c260ea775d Mon Sep 17 00:00:00 2001 From: Aleksei Kuzmin Date: Wed, 23 Aug 2017 23:51:09 +0300 Subject: [PATCH] Make BlobReader create its own file TaskRunner. https://chromium-review.googlesource.com/c/chromium/src/+/570945 --- atom/browser/atom_blob_reader.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/atom/browser/atom_blob_reader.cc b/atom/browser/atom_blob_reader.cc index fd251c70d3d6..5dc73b969420 100644 --- a/atom/browser/atom_blob_reader.cc +++ b/atom/browser/atom_blob_reader.cc @@ -72,8 +72,7 @@ void AtomBlobReader::StartReading( } auto blob_reader = blob_data_handle->CreateReader( - file_system_context_.get(), - BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE).get()); + file_system_context_.get()); BlobReadHelper* blob_read_helper = new BlobReadHelper(std::move(blob_reader), callback); blob_read_helper->Read();