| Index: Source/core/fileapi/FileReaderLoader.cpp
|
| diff --git a/Source/core/fileapi/FileReaderLoader.cpp b/Source/core/fileapi/FileReaderLoader.cpp
|
| index c94cacd8d597499d2f42c602f25111d4347c3f8d..9e4bca6104e1e5e611e44f48a71c1927da5d6300 100644
|
| --- a/Source/core/fileapi/FileReaderLoader.cpp
|
| +++ b/Source/core/fileapi/FileReaderLoader.cpp
|
| @@ -119,10 +119,12 @@ void FileReaderLoader::startInternal(ExecutionContext& executionContext, const S
|
| ResourceLoaderOptions resourceLoaderOptions;
|
| resourceLoaderOptions.allowCredentials = AllowStoredCredentials;
|
|
|
| - if (m_client)
|
| - m_loader = ThreadableLoader::create(executionContext, this, request, options, resourceLoaderOptions);
|
| - else
|
| + if (m_client) {
|
| + m_loader = ThreadableLoader::create(executionContext, this, options, resourceLoaderOptions);
|
| + m_loader->start(request);
|
| + } else {
|
| ThreadableLoader::loadResourceSynchronously(executionContext, request, *this, options, resourceLoaderOptions);
|
| + }
|
| }
|
|
|
| void FileReaderLoader::start(ExecutionContext* executionContext, PassRefPtr<BlobDataHandle> blobData)
|
|
|