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

Unified Diff: third_party/WebKit/Source/modules/encoding/TextEncoder.h

Issue 1414553002: Fix out-of-memory crashes related to ArrayBuffer allocation Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+more tweaks Created 5 years, 1 month 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/modules/encoding/TextEncoder.h
diff --git a/third_party/WebKit/Source/modules/encoding/TextEncoder.h b/third_party/WebKit/Source/modules/encoding/TextEncoder.h
index d7da33250a5eb204375f4e2ea849a794fbdefe3d..034ed69e23ce670a15a034023ffb855896886678 100644
--- a/third_party/WebKit/Source/modules/encoding/TextEncoder.h
+++ b/third_party/WebKit/Source/modules/encoding/TextEncoder.h
@@ -50,7 +50,7 @@ public:
// Implement the IDL
String encoding() const;
- PassRefPtr<DOMUint8Array> encode(const String&);
+ PassRefPtr<DOMUint8Array> encode(const String&, ExceptionState&);
DEFINE_INLINE_TRACE() { }

Powered by Google App Engine
This is Rietveld 408576698