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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.idl

Issue 1609313002: Use BlobCallback in toBlob instead of FileCallback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase master and Renamed mimeType to contentType to match other bits in Blob.h Created 4 years, 11 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/html/HTMLCanvasElement.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.idl b/third_party/WebKit/Source/core/html/HTMLCanvasElement.idl
index c4b18d527332576669918efb1398b26bfd16b180..cbf4e76e2c0b1a86fc9bf8731041e6e8e95e4fea 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.idl
@@ -53,5 +53,5 @@ interface HTMLCanvasElement : HTMLElement
// FIXME: type should not have a default value.
[RaisesException] DOMString toDataURL(optional DOMString type = null, optional any arguments);
- [RaisesException, CallWith=ScriptState, RuntimeEnabled=ExperimentalCanvasFeatures] void toBlob(FileCallback _callback, optional DOMString type = null, optional any arguments);
+ [RaisesException, CallWith=ScriptState, RuntimeEnabled=ExperimentalCanvasFeatures] void toBlob(BlobCallback _callback, optional DOMString type = null, optional any arguments);
};

Powered by Google App Engine
This is Rietveld 408576698