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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.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/core/html/HTMLCanvasElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
index a8fdc1741b6ca79c51d50ab82c3b04d7dea1aca2..3e481d7f064fa7587924a7f75e8b342a6c3e5857 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
@@ -193,8 +193,8 @@ private:
bool paintsIntoCanvasBuffer() const;
- ImageData* toImageData(SourceDrawingBuffer) const;
- String toDataURLInternal(const String& mimeType, const double& quality, SourceDrawingBuffer) const;
+ ImageData* toImageData(SourceDrawingBuffer, ExceptionState&) const;
+ String toDataURLInternal(const String& mimeType, const double& quality, SourceDrawingBuffer, ExceptionState&) const;
IntSize m_size;
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/FileReaderSync.cpp ('k') | third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698