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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.h

Issue 1414553002: Fix out-of-memory crashes related to ArrayBuffer allocation Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: applied review comments 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/bindings/core/v8/ScriptValueSerializer.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.h b/third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.h
index 3b2bb63b4e6f562c4e63045a2ff654178ae406b5..1bc840dbdc152f1323c33d858652673b981d785f 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptValueSerializer.h
@@ -527,7 +527,7 @@ private:
bool readNumberObject(v8::Local<v8::Value>*);
bool readImageData(v8::Local<v8::Value>*);
bool readCompositorProxy(v8::Local<v8::Value>*);
- PassRefPtr<DOMArrayBuffer> doReadArrayBuffer();
+ PassRefPtr<DOMArrayBuffer> doReadArrayBufferOrNull();
bool readArrayBuffer(v8::Local<v8::Value>*);
bool readArrayBufferView(v8::Local<v8::Value>*, ScriptValueCompositeCreator&);
bool readRegExp(v8::Local<v8::Value>*);

Powered by Google App Engine
This is Rietveld 408576698