Chromium Code Reviews| Index: Source/core/html/HTMLCanvasElement.idl |
| diff --git a/Source/core/html/HTMLCanvasElement.idl b/Source/core/html/HTMLCanvasElement.idl |
| index 80d13f626a6cc3d9b1559c7522aeede277207d09..34c6551d14d65cdc75379eda73c727daa9b0fe12 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([TreatUndefinedAs=NullString, Default=Undefined] optional DOMString? type, optional any arguments); |
|
Jens Widell
2015/02/11 20:18:55
BTW, the first argument could equivalently be decl
|
| // Note: this differs deliberately from the specified Web IDL for this function: |
| // RenderingContext? getContext(DOMString contextId, any... arguments); |