Index: third_party/WebKit/Source/core/fileapi/FileReaderSync.cpp |
diff --git a/third_party/WebKit/Source/core/fileapi/FileReaderSync.cpp b/third_party/WebKit/Source/core/fileapi/FileReaderSync.cpp |
index b2b8004c030b0422539343b98879f1aa38003944..6f84b06c55cad832f473965e1c4ccbf25f340ba8 100644 |
--- a/third_party/WebKit/Source/core/fileapi/FileReaderSync.cpp |
+++ b/third_party/WebKit/Source/core/fileapi/FileReaderSync.cpp |
@@ -55,7 +55,7 @@ PassRefPtr<DOMArrayBuffer> FileReaderSync::readAsArrayBuffer(ExecutionContext* e |
FileReaderLoader loader(FileReaderLoader::ReadAsArrayBuffer, nullptr); |
startLoading(executionContext, loader, *blob, exceptionState); |
- return loader.arrayBufferResult(); |
+ return loader.arrayBufferResultOrNull(); |
} |
String FileReaderSync::readAsBinaryString(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) |