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 c94cacd8d597499d2f42c602f25111d4347c3f8d..6ccfa64f17a7b0f3a950f42e44a6bda7acb600b4 100644 |
--- a/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp |
+++ b/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp |
@@ -315,7 +315,7 @@ PassRefPtr<DOMArrayBuffer> FileReaderLoader::arrayBufferResult() const |
if (!m_rawData || m_errorCode) |
return nullptr; |
- return DOMArrayBuffer::create(m_rawData->toArrayBuffer()); |
+ return DOMArrayBuffer::createOrNull(m_rawData->toArrayBuffer()); |
} |
String FileReaderLoader::stringResult() |