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

Unified Diff: tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 14173003: Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
Index: tools/dom/templates/html/impl/impl_Element.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
index a7f305d56b959aa22a55b18c2b44216e56a8922c..fbcce251ea5937dc1a7413abc38f0e184889dd9d 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -180,14 +180,6 @@ class _ChildrenElementList extends ListBase<Element> {
}
}
- void removeAll(Iterable elements) {
- _childElements.removeAll(elements);
- }
-
- void retainAll(Iterable elements) {
- _childElements.retainAll(elements);
- }
-
void removeWhere(bool test(Element element)) {
_childElements.removeWhere(test);
}
@@ -349,14 +341,6 @@ class _FrozenElementList extends ListBase {
throw new UnsupportedError('');
}
- void removeAll(Iterable elements) {
- throw new UnsupportedError('');
- }
-
- void retainAll(Iterable elements) {
- throw new UnsupportedError('');
- }
-
void removeWhere(bool test(Element element)) {
throw new UnsupportedError('');
}
@@ -514,7 +498,7 @@ $(ANNOTATIONS)abstract class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
*/
CssClassSet get classes => new _ElementCssClassSet(this);
- void set classes(Collection<String> value) {
+ void set classes(Iterable<String> value) {
CssClassSet classSet = classes;
classSet.clear();
classSet.addAll(value);

Powered by Google App Engine
This is Rietveld 408576698