Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: third_party/WebKit/Source/core/fileapi/FileReaderLoader.h

Issue 1414553002: Fix out-of-memory crashes related to ArrayBuffer allocation Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverting some behavior changes Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/fileapi/FileReaderLoader.h
diff --git a/third_party/WebKit/Source/core/fileapi/FileReaderLoader.h b/third_party/WebKit/Source/core/fileapi/FileReaderLoader.h
index 565a06122597ad66f62b4da758e0ee04a1948cfa..ba52ca901b7f586305fe52511eed9be080afc6ed 100644
--- a/third_party/WebKit/Source/core/fileapi/FileReaderLoader.h
+++ b/third_party/WebKit/Source/core/fileapi/FileReaderLoader.h
@@ -82,7 +82,7 @@ public:
void didFail(const ResourceError&) override;
String stringResult();
- PassRefPtr<DOMArrayBuffer> arrayBufferResult() const;
+ PassRefPtr<DOMArrayBuffer> arrayBufferResultOrNull() const;
// Returns the total bytes received. Bytes ignored by m_rawData won't be
// counted.

Powered by Google App Engine
This is Rietveld 408576698