Index: third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp |
diff --git a/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp b/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp |
index ad5761fd0048d41a42dbb094fdc5c28305f37ab6..bf1a6f63a332c986f29e800a7ecc840dcf6ad699 100644 |
--- a/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp |
+++ b/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp |
@@ -117,10 +117,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) |