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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 12493014: Fix CssClassSet methods to accept Set, not Collection. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 fa27d0d2b71cbe54b265eb70988b6bcab64da585..87c5c463e50e3767e6881444aaa0a1bb9f47454e 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -30182,13 +30182,13 @@ abstract class CssClassSet implements Set<String> {
bool containsAll(Iterable<String> collection) =>
readClasses().containsAll(collection);
- Set<String> intersection(Collection<String> other) =>
+ Set<String> intersection(Set<String> other) =>
readClasses().intersection(other);
- Set<String> union(Collection<String> other) =>
+ Set<String> union(Set<String> other) =>
readClasses().union(other);
- Set<String> difference(Collection<String> other) =>
+ Set<String> difference(Set<String> other) =>
readClasses().difference(other);
String get first => readClasses().first;
« 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