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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

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 | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index f5708a405377b597c1abbc25f5325ce273ba739e..398149392a04ff9537dafb01898508c1482c01b9 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -41453,7 +41453,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);
}
/**
@@ -41487,7 +41487,7 @@ class _ElementAttributeMap extends _AttributeMap {
return keys.length;
}
- bool _matches(Node node) => node._namespaceUri == null;
+ bool _matches(_Attr node) => node._namespaceUri == null;
}
/**
@@ -41523,7 +41523,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 | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698