Index: third_party/WebKit/Source/core/fileapi/FileReader.cpp |
diff --git a/third_party/WebKit/Source/core/fileapi/FileReader.cpp b/third_party/WebKit/Source/core/fileapi/FileReader.cpp |
index c983c37d5ef4e9fbfab04291bcd09e8694ee46c6..fa2b3061c9baa2de395b48713fbcaec658b237d9 100644 |
--- a/third_party/WebKit/Source/core/fileapi/FileReader.cpp |
+++ b/third_party/WebKit/Source/core/fileapi/FileReader.cpp |
@@ -371,7 +371,7 @@ void FileReader::result(StringOrArrayBuffer& resultAttribute) const |
return; |
if (m_readType == FileReaderLoader::ReadAsArrayBuffer) |
- resultAttribute.setArrayBuffer(m_loader->arrayBufferResult()); |
+ resultAttribute.setArrayBuffer(m_loader->arrayBufferResultOrNull()); |
else |
resultAttribute.setString(m_loader->stringResult()); |
} |