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

Unified Diff: tools/dom/src/CssClassSet.dart

Issue 12225009: Fix type bug in CssClassSet. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/CssClassSet.dart
diff --git a/tools/dom/src/CssClassSet.dart b/tools/dom/src/CssClassSet.dart
index e1dce2381dcc5e60a5ad7fcb984b4c1396efabd4..d0181087412e200f23a69e0fbcc250636c5d48d4 100644
--- a/tools/dom/src/CssClassSet.dart
+++ b/tools/dom/src/CssClassSet.dart
@@ -50,7 +50,7 @@ abstract class CssClassSet implements Set<String> {
Iterable<String> where(bool f(String element)) => readClasses().where(f);
- Iterable expand(Iterable f(E element)) => readClasses.expand(f);
+ Iterable expand(Iterable f(String element)) => readClasses.expand(f);
bool every(bool f(String element)) => readClasses().every(f);
@@ -58,7 +58,7 @@ abstract class CssClassSet implements Set<String> {
bool get isEmpty => readClasses().isEmpty;
- int get length =>readClasses().length;
+ int get length => readClasses().length;
dynamic reduce(dynamic initialValue,
dynamic combine(dynamic previousValue, String element)) {
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698