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 2b1e90dc59f5a75ba12c96bd6500969fe6d604e0..b742fb74d264b05fa87cfb8f5552f314e3d57926 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -27802,13 +27802,13 @@ class Url extends NativeFieldWrapperClass2 { |
if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) { |
return _createObjectURL_1(blob_OR_source_OR_stream); |
} |
- if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) { |
+ if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) { |
return _createObjectURL_2(blob_OR_source_OR_stream); |
} |
- if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) { |
+ if ((blob_OR_source_OR_stream is _WebKitMediaSource || blob_OR_source_OR_stream == null)) { |
return _createObjectURL_3(blob_OR_source_OR_stream); |
} |
- if ((blob_OR_source_OR_stream is _WebKitMediaSource || blob_OR_source_OR_stream == null)) { |
+ if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) { |
return _createObjectURL_4(blob_OR_source_OR_stream); |
} |
throw new ArgumentError("Incorrect number or type of arguments"); |
@@ -35914,24 +35914,6 @@ class _Utils { |
return result; |
} |
- static List parseStackTrace(StackTrace stackTrace) { |
- final regExp = new RegExp(r'#\d\s+(.*) \((.*):(\d+):(\d+)\)'); |
- List result = []; |
- for (var match in regExp.allMatches(stackTrace.toString())) { |
- result.add([match.group(1), match.group(2), int.parse(match.group(3)), int.parse(match.group(4))]); |
- } |
- return result; |
- } |
- |
- static List captureParsedStackTrace() { |
- try { |
- // Throwing an exception is the only way to generate a stack trace. |
- throw new Exception(); |
- } catch (e, stackTrace) { |
- return parseStackTrace(stackTrace); |
- } |
- } |
- |
static void populateMap(Map result, List list) { |
for (int i = 0; i < list.length; i += 2) { |
result[list[i]] = list[i + 1]; |