| Index: client/dom/generated/src/wrapping/_DOMURLWrappingImplementation.dart
|
| diff --git a/client/dom/generated/src/wrapping/_DOMURLWrappingImplementation.dart b/client/dom/generated/src/wrapping/_DOMURLWrappingImplementation.dart
|
| index 5b845016fcf4347b304dd57fddd3571c5c1e7f25..c0aa5ebec7d9c6c35af8aadfd3f6faeccd1391d6 100644
|
| --- a/client/dom/generated/src/wrapping/_DOMURLWrappingImplementation.dart
|
| +++ b/client/dom/generated/src/wrapping/_DOMURLWrappingImplementation.dart
|
| @@ -11,10 +11,18 @@ class _DOMURLWrappingImplementation extends DOMWrapperBase implements DOMURL {
|
| return new _DOMURLWrappingImplementation();
|
| }
|
|
|
| - String createObjectURL(Blob blob) {
|
| - return _createObjectURL(this, blob);
|
| + String createObjectURL(var blob_OR_stream) {
|
| + if (blob_OR_stream is MediaStream) {
|
| + return _createObjectURL(this, blob_OR_stream);
|
| + } else {
|
| + if (blob_OR_stream is Blob) {
|
| + return _createObjectURL_2(this, blob_OR_stream);
|
| + }
|
| + }
|
| + throw "Incorrect number or type of arguments";
|
| }
|
| - static String _createObjectURL(receiver, blob) native;
|
| + static String _createObjectURL(receiver, blob_OR_stream) native;
|
| + static String _createObjectURL_2(receiver, blob_OR_stream) native;
|
|
|
| void revokeObjectURL(String url) {
|
| _revokeObjectURL(this, url);
|
|
|