Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 2875183002: Better type for _match argument in AttributeMatch (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/src/AttributeMap.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b463fbfa268e78eccc1348377f82bb878f10db4f..6bcdb02dd9399a1715ebce0b3fb99c8c7c46d488 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -41262,11 +41262,11 @@ class Url extends DartHtmlDomObject implements UrlUtils {
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);
}
@@ -47774,7 +47774,7 @@ abstract class _AttributeMap implements Map<String, String> {
/**
* Checks to see if the node should be included in this map.
*/
- bool _matches(Node node);
+ bool _matches(_Attr node);
}
/**
@@ -47808,7 +47808,7 @@ class _ElementAttributeMap extends _AttributeMap {
return keys.length;
}
- bool _matches(Node node) => node._namespaceUri == null;
+ bool _matches(_Attr node) => node._namespaceUri == null;
}
/**
@@ -47844,7 +47844,7 @@ class _NamespacedAttributeMap extends _AttributeMap {
return keys.length;
}
- bool _matches(Node node) => node._namespaceUri == _namespace;
+ bool _matches(_Attr node) => node._namespaceUri == _namespace;
}
/**
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/src/AttributeMap.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698