Index: tools/dom/templates/html/impl/impl_Node.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate |
index 018494ddb89ba8e50aa696314c3b2b2baec666fa..005888eca4ba58b09bb6754258f13eae8c0545c6 100644 |
--- a/tools/dom/templates/html/impl/impl_Node.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Node.darttemplate |
@@ -115,12 +115,12 @@ $endif |
IterableMixinWorkaround.retainAll(this, elements); |
} |
- void removeMatching(bool test(Node node)) { |
- IterableMixinWorkaround.removeMatching(this, test); |
+ void removeWhere(bool test(Node node)) { |
+ IterableMixinWorkaround.removeWhere(this, test); |
} |
- void retainMatching(bool test(Node node)) { |
- IterableMixinWorkaround.retainMatching(this, test); |
+ void retainWhere(bool test(Node node)) { |
+ IterableMixinWorkaround.retainWhere(this, test); |
} |
void clear() { |
@@ -188,16 +188,16 @@ $endif |
return IterableMixinWorkaround.skipWhile(this, test); |
} |
- Node firstMatching(bool test(Node value), {Node orElse()}) { |
- return IterableMixinWorkaround.firstMatching(this, test, orElse); |
+ Node firstWhere(bool test(Node value), {Node orElse()}) { |
+ return IterableMixinWorkaround.firstWhere(this, test, orElse); |
} |
- Node lastMatching(bool test(Node value), {Node orElse()}) { |
- return IterableMixinWorkaround.lastMatchingInList(this, test, orElse); |
+ Node lastWhere(bool test(Node value), {Node orElse()}) { |
+ return IterableMixinWorkaround.lastWhereList(this, test, orElse); |
} |
- Node singleMatching(bool test(Node value)) { |
- return IterableMixinWorkaround.singleMatching(this, test); |
+ Node singleWhere(bool test(Node value)) { |
+ return IterableMixinWorkaround.singleWhere(this, test); |
} |
Node elementAt(int index) { |