| 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 6be6b162743b8741670976e2e33e37399df77d0f..3b44aeed3b32628302e4b621878fd94b0d11c46f 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -25885,13 +25885,13 @@ class Url extends NativeFieldWrapperClass1 {
|
| 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 MediaSource || blob_OR_source_OR_stream == null)) {
|
| + if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
|
| return _createObjectURL_2(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 MediaSource || blob_OR_source_OR_stream == null)) {
|
| return _createObjectURL_3(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 _WebKitMediaSource || blob_OR_source_OR_stream == null)) {
|
| return _createObjectURL_4(blob_OR_source_OR_stream);
|
| }
|
| throw new ArgumentError("Incorrect number or type of arguments");
|
| @@ -33294,7 +33294,8 @@ class _Utils {
|
| Symbol objectName = reflectClass(Object).qualifiedName;
|
| bool isRoot(ClassMirror cls) =>
|
| cls == null || cls.qualifiedName == objectName;
|
| - Symbol elementName = reflectClass(Element).qualifiedName;
|
| + // TODO(vsm): Support extending SvgElement as well.
|
| + Symbol elementName = reflectClass(HtmlElement).qualifiedName;
|
| bool isElement(ClassMirror cls) =>
|
| cls != null && cls.qualifiedName == elementName;
|
|
|
| @@ -33303,7 +33304,7 @@ class _Utils {
|
| }
|
|
|
| if (isRoot(superClass)) {
|
| - throw new UnsupportedError("Invalid custom element doesn't inherit from Element.");
|
| + throw new UnsupportedError("Invalid custom element doesn't inherit from HtmlElement.");
|
| }
|
| _register(tag, type);
|
| }
|
|
|