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

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

Issue 1244123003: The type argument for HTMLCanvasElement toDataURL() api should not be nullable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLCanvasElement.idl
diff --git a/Source/core/html/HTMLCanvasElement.idl b/Source/core/html/HTMLCanvasElement.idl
index b6d326c40df78aff6e2585d905f6867b69643a5c..57ead8bcb8e8971c58665b2d167f008b310e5aee 100644
--- a/Source/core/html/HTMLCanvasElement.idl
+++ b/Source/core/html/HTMLCanvasElement.idl
@@ -49,6 +49,6 @@ interface HTMLCanvasElement : HTMLElement {
// Note: The arguments argument is variadic in the spec, but not here as
// only one extra argument is actually used.
- // FIXME: type should not be nullable or have a default value.
- [RaisesException] DOMString toDataURL(optional DOMString? type = null, optional any arguments);
+ // FIXME: type should not have a default value.
+ [RaisesException] DOMString toDataURL(optional DOMString type = null, optional any arguments);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698