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

Unified Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 13956006: Remove insertRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebuild DOM (unrelated CL) and update status files. 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
« no previous file with comments | « sdk/lib/io/http_impl.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/svg/dart2js/svg_dart2js.dart
diff --git a/sdk/lib/svg/dart2js/svg_dart2js.dart b/sdk/lib/svg/dart2js/svg_dart2js.dart
index 109121794808397461094f3e1e7d4cf61fcff287..cf7fe00a63cdf209ada7ed9fb546c63952fff85d 100644
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart
@@ -3172,14 +3172,10 @@ class LengthList implements JavaScriptIndexingBehavior, List<Length> native "*SV
throw new UnsupportedError("Cannot setRange on immutable List.");
}
- void removeRange(int start, int rangeLength) {
+ void removeRange(int start, int end) {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [Length initialValue]) {
- throw new UnsupportedError("Cannot insertRange on immutable List.");
- }
-
Iterable<Length> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -3804,14 +3800,10 @@ class NumberList implements JavaScriptIndexingBehavior, List<Number> native "*SV
throw new UnsupportedError("Cannot setRange on immutable List.");
}
- void removeRange(int start, int rangeLength) {
+ void removeRange(int start, int end) {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [Number initialValue]) {
- throw new UnsupportedError("Cannot insertRange on immutable List.");
- }
-
Iterable<Number> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -4667,14 +4659,10 @@ class PathSegList implements JavaScriptIndexingBehavior, List<PathSeg> native "*
throw new UnsupportedError("Cannot setRange on immutable List.");
}
- void removeRange(int start, int rangeLength) {
+ void removeRange(int start, int end) {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [PathSeg initialValue]) {
- throw new UnsupportedError("Cannot insertRange on immutable List.");
- }
-
Iterable<PathSeg> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -5560,14 +5548,10 @@ class StringList implements JavaScriptIndexingBehavior, List<String> native "*SV
throw new UnsupportedError("Cannot setRange on immutable List.");
}
- void removeRange(int start, int rangeLength) {
+ void removeRange(int start, int end) {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [String initialValue]) {
- throw new UnsupportedError("Cannot insertRange on immutable List.");
- }
-
Iterable<String> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -6726,14 +6710,10 @@ class TransformList implements List<Transform>, JavaScriptIndexingBehavior nativ
throw new UnsupportedError("Cannot setRange on immutable List.");
}
- void removeRange(int start, int rangeLength) {
+ void removeRange(int start, int end) {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [Transform initialValue]) {
- throw new UnsupportedError("Cannot insertRange on immutable List.");
- }
-
Iterable<Transform> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
@@ -7253,14 +7233,10 @@ class _ElementInstanceList implements JavaScriptIndexingBehavior, List<ElementIn
throw new UnsupportedError("Cannot setRange on immutable List.");
}
- void removeRange(int start, int rangeLength) {
+ void removeRange(int start, int end) {
throw new UnsupportedError("Cannot removeRange on immutable List.");
}
- void insertRange(int start, int rangeLength, [ElementInstance initialValue]) {
- throw new UnsupportedError("Cannot insertRange on immutable List.");
- }
-
Iterable<ElementInstance> getRange(int start, int end) =>
IterableMixinWorkaround.getRangeList(this, start, end);
« no previous file with comments | « sdk/lib/io/http_impl.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698