| 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 c71a03535586d08b6717a093fcff55f75abcd6f2..1ebef90d3c0677ae6ee8e516e4fa98b463b08a89 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -27849,13 +27849,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");
|
| @@ -35961,24 +35961,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];
|
|
|