Index: sdk/lib/html/dartium/html_dartium.dart |
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart |
index 019cc214f387fc41c588908cd768aca1e1d73ceb..239f9af92dbd6073e32f5de5205a958ed46efbf0 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -14713,7 +14713,7 @@ class Event extends NativeFieldWrapperClass2 { |
// http://www.w3.org/TR/eventsource/#the-eventsource-interface |
@Experimental() // stable |
class EventSource extends EventTarget { |
- factory EventSource(String title, {withCredentials: false}) { |
+ factory EventSource(String url, {withCredentials: false}) { |
var parsedOptions = { |
'withCredentials': withCredentials, |
}; |
@@ -31836,10 +31836,10 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils { |
if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) { |
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(blob_OR_source_OR_stream); |
} |
- if ((blob_OR_source_OR_stream is MediaStream)) { |
+ if ((blob_OR_source_OR_stream is MediaSource)) { |
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(blob_OR_source_OR_stream); |
} |
- if ((blob_OR_source_OR_stream is MediaSource)) { |
+ if ((blob_OR_source_OR_stream is MediaStream)) { |
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(blob_OR_source_OR_stream); |
} |
throw new ArgumentError("Incorrect number or type of arguments"); |