| Index: lib/html/dart2js/html_dart2js.dart
|
| diff --git a/lib/html/dart2js/html_dart2js.dart b/lib/html/dart2js/html_dart2js.dart
|
| index 182ab2edd5ba689db1fe49a0a9ff66e5c7c99751..6b0ce85e4a2c1d09272b4c34c210bba8c128cdf6 100644
|
| --- a/lib/html/dart2js/html_dart2js.dart
|
| +++ b/lib/html/dart2js/html_dart2js.dart
|
| @@ -3816,7 +3816,7 @@ class _CanvasElementImpl extends _ElementImpl implements CanvasElement native "*
|
|
|
| Object getContext(String contextId) native;
|
|
|
| - String toDataURL(String type) native;
|
| + String toDataURL(String type, [num quality]) native;
|
|
|
|
|
| _CanvasRenderingContext2DImpl get context2d() => getContext('2d');
|
| @@ -21346,7 +21346,7 @@ interface CanvasElement extends Element default _Elements {
|
| Object getContext(String contextId);
|
|
|
| /** @domName HTMLCanvasElement.toDataURL */
|
| - String toDataURL(String type);
|
| + String toDataURL(String type, [num quality]);
|
|
|
| final CanvasRenderingContext2D context2d;
|
| }
|
|
|