Make BlobReader create its own file TaskRunner.
https://chromium-review.googlesource.com/c/chromium/src/+/570945
This commit is contained in:
parent
6ba372f9f2
commit
edb7bc6572
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue