Index: Source/core/html/HTMLCanvasElement.idl |
diff --git a/Source/core/html/HTMLCanvasElement.idl b/Source/core/html/HTMLCanvasElement.idl |
index 80d13f626a6cc3d9b1559c7522aeede277207d09..5f2ee7c88105497ec14666243e705cdfa4aa9bc2 100644 |
--- a/Source/core/html/HTMLCanvasElement.idl |
+++ b/Source/core/html/HTMLCanvasElement.idl |
@@ -31,7 +31,7 @@ interface HTMLCanvasElement : HTMLElement { |
attribute long width; |
attribute long height; |
- [Custom, RaisesException] DOMString toDataURL([TreatUndefinedAs=NullString, Default=Undefined] optional DOMString? type); |
+ [RaisesException] DOMString toDataURL(optional DOMString? type = null, optional any arguments); |
// Note: this differs deliberately from the specified Web IDL for this function: |
// RenderingContext? getContext(DOMString contextId, any... arguments); |