Index: client/html/generated/html/dartium/DOMURL.dart |
diff --git a/client/html/generated/html/dartium/DOMURL.dart b/client/html/generated/html/dartium/DOMURL.dart |
index 38b898ba7196415527f2e5a95bf74907afe05835..c487effd506e31474ead02545cf6ab4230a4ce24 100644 |
--- a/client/html/generated/html/dartium/DOMURL.dart |
+++ b/client/html/generated/html/dartium/DOMURL.dart |
@@ -1,4 +1,20 @@ |
class _DOMURLImpl extends _DOMTypeBase implements DOMURL { |
_DOMURLImpl._wrap(ptr) : super._wrap(ptr); |
+ |
+ String createObjectURL(var blob_OR_stream) { |
+ if (blob_OR_stream is MediaStream) { |
+ return _wrap(_ptr.createObjectURL(_unwrap(blob_OR_stream))); |
+ } else { |
+ if (blob_OR_stream is Blob) { |
+ return _wrap(_ptr.createObjectURL(_unwrap(blob_OR_stream))); |
+ } |
+ } |
+ throw "Incorrect number or type of arguments"; |
+ } |
+ |
+ void revokeObjectURL(String url) { |
+ _ptr.revokeObjectURL(_unwrap(url)); |
+ return; |
+ } |
} |