Index: sdk/lib/html/dart2js/html_dart2js.dart |
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart |
index 0e5ba186e716e85219394c264020e0024e37f23a..4104ee9620f253aa64761ad08209bb4f63017523 100644 |
--- a/sdk/lib/html/dart2js/html_dart2js.dart |
+++ b/sdk/lib/html/dart2js/html_dart2js.dart |
@@ -13919,8 +13919,8 @@ class MediaStream extends EventTarget native "*MediaStream" { |
static const EventStreamProvider<Event> endedEvent = const EventStreamProvider<Event>('ended'); |
@DocsEditable |
- factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) => MediaStream._create(audioTracks, videoTracks); |
- static MediaStream _create(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks) => JS('MediaStream', 'new MediaStream(#,#)', audioTracks, videoTracks); |
+ factory MediaStream() => MediaStream._create(); |
+ static MediaStream _create() => JS('MediaStream', 'new MediaStream()'); |
@DocsEditable |
@DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent') |