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

Unified Diff: sdk/lib/svg/dartium/svg_dartium.dart

Issue 12087103: Revert "Rename mappedBy to map." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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/svg/dart2js/svg_dart2js.dart ('k') | tests/compiler/dart2js/type_checker_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/svg/dartium/svg_dartium.dart
diff --git a/sdk/lib/svg/dartium/svg_dartium.dart b/sdk/lib/svg/dartium/svg_dartium.dart
index e0af5e172ef9c399b98ed31ae4b76cea33f8662f..3b237350003f8e28295f77674f4b9c92583ca2d3 100644
--- a/sdk/lib/svg/dartium/svg_dartium.dart
+++ b/sdk/lib/svg/dartium/svg_dartium.dart
@@ -3963,11 +3963,7 @@ class LengthList extends NativeFieldWrapperClass1 implements List<Length> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(Length element)) =>
- IterableMixinWorkaround.map(this, f);
-
- List mappedBy(f(Length element)) =>
- IterableMixinWorkaround.mappedBy(this, f);
+ List mappedBy(f(Length element)) => IterableMixinWorkaround.mappedByList(this, f);
Iterable<Length> where(bool f(Length element)) =>
IterableMixinWorkaround.where(this, f);
@@ -3981,13 +3977,13 @@ class LengthList extends NativeFieldWrapperClass1 implements List<Length> {
bool get isEmpty => this.length == 0;
- Iterable<Length> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ List<Length> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Length> takeWhile(bool test(Length value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<Length> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ List<Length> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Length> skipWhile(bool test(Length value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -4733,11 +4729,7 @@ class NumberList extends NativeFieldWrapperClass1 implements List<Number> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(Number element)) =>
- IterableMixinWorkaround.map(this, f);
-
- List mappedBy(f(Number element)) =>
- IterableMixinWorkaround.mappedBy(this, f);
+ List mappedBy(f(Number element)) => IterableMixinWorkaround.mappedByList(this, f);
Iterable<Number> where(bool f(Number element)) =>
IterableMixinWorkaround.where(this, f);
@@ -4751,13 +4743,13 @@ class NumberList extends NativeFieldWrapperClass1 implements List<Number> {
bool get isEmpty => this.length == 0;
- Iterable<Number> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ List<Number> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Number> takeWhile(bool test(Number value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<Number> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ List<Number> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Number> skipWhile(bool test(Number value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -5921,11 +5913,7 @@ class PathSegList extends NativeFieldWrapperClass1 implements List<PathSeg> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(PathSeg element)) =>
- IterableMixinWorkaround.map(this, f);
-
- List mappedBy(f(PathSeg element)) =>
- IterableMixinWorkaround.mappedBy(this, f);
+ List mappedBy(f(PathSeg element)) => IterableMixinWorkaround.mappedByList(this, f);
Iterable<PathSeg> where(bool f(PathSeg element)) =>
IterableMixinWorkaround.where(this, f);
@@ -5939,13 +5927,13 @@ class PathSegList extends NativeFieldWrapperClass1 implements List<PathSeg> {
bool get isEmpty => this.length == 0;
- Iterable<PathSeg> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ List<PathSeg> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<PathSeg> takeWhile(bool test(PathSeg value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<PathSeg> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ List<PathSeg> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<PathSeg> skipWhile(bool test(PathSeg value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -6949,11 +6937,7 @@ class StringList extends NativeFieldWrapperClass1 implements List<String> {
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(String element)) =>
- IterableMixinWorkaround.map(this, f);
-
- List mappedBy(f(String element)) =>
- IterableMixinWorkaround.mappedBy(this, f);
+ List mappedBy(f(String element)) => IterableMixinWorkaround.mappedByList(this, f);
Iterable<String> where(bool f(String element)) =>
IterableMixinWorkaround.where(this, f);
@@ -6967,13 +6951,13 @@ class StringList extends NativeFieldWrapperClass1 implements List<String> {
bool get isEmpty => this.length == 0;
- Iterable<String> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ List<String> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<String> takeWhile(bool test(String value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<String> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ List<String> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<String> skipWhile(bool test(String value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -8272,11 +8256,7 @@ class TransformList extends NativeFieldWrapperClass1 implements List<Transform>
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(Transform element)) =>
- IterableMixinWorkaround.map(this, f);
-
- List mappedBy(f(Transform element)) =>
- IterableMixinWorkaround.mappedBy(this, f);
+ List mappedBy(f(Transform element)) => IterableMixinWorkaround.mappedByList(this, f);
Iterable<Transform> where(bool f(Transform element)) =>
IterableMixinWorkaround.where(this, f);
@@ -8290,13 +8270,13 @@ class TransformList extends NativeFieldWrapperClass1 implements List<Transform>
bool get isEmpty => this.length == 0;
- Iterable<Transform> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ List<Transform> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<Transform> takeWhile(bool test(Transform value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<Transform> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ List<Transform> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<Transform> skipWhile(bool test(Transform value)) {
return IterableMixinWorkaround.skipWhile(this, test);
@@ -8869,11 +8849,7 @@ class _ElementInstanceList extends NativeFieldWrapperClass1 implements List<Elem
String join([String separator]) =>
IterableMixinWorkaround.joinList(this, separator);
- Iterable map(f(ElementInstance element)) =>
- IterableMixinWorkaround.map(this, f);
-
- List mappedBy(f(ElementInstance element)) =>
- IterableMixinWorkaround.mappedBy(this, f);
+ List mappedBy(f(ElementInstance element)) => IterableMixinWorkaround.mappedByList(this, f);
Iterable<ElementInstance> where(bool f(ElementInstance element)) =>
IterableMixinWorkaround.where(this, f);
@@ -8887,13 +8863,13 @@ class _ElementInstanceList extends NativeFieldWrapperClass1 implements List<Elem
bool get isEmpty => this.length == 0;
- Iterable<ElementInstance> take(int n) => IterableMixinWorkaround.takeList(this, n);
+ List<ElementInstance> take(int n) => IterableMixinWorkaround.takeList(this, n);
Iterable<ElementInstance> takeWhile(bool test(ElementInstance value)) {
return IterableMixinWorkaround.takeWhile(this, test);
}
- Iterable<ElementInstance> skip(int n) => IterableMixinWorkaround.skipList(this, n);
+ List<ElementInstance> skip(int n) => IterableMixinWorkaround.skipList(this, n);
Iterable<ElementInstance> skipWhile(bool test(ElementInstance value)) {
return IterableMixinWorkaround.skipWhile(this, test);
« no previous file with comments | « sdk/lib/svg/dart2js/svg_dart2js.dart ('k') | tests/compiler/dart2js/type_checker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698