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

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

Issue 12334081: Fixing web_sql SqlResultSetRowList row accessor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | « no previous file | sdk/lib/web_sql/dart2js/web_sql_dart2js.dart » ('j') | tests/html/websql_test.dart » ('J')
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 c34dc2748fa25bc9c95646f5a6383151d98c0ec1..d8aa9951019e1573bab11cef75caaf4b1dc55a93 100644
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart
@@ -3050,7 +3050,7 @@ class LengthList implements JavaScriptIndexingBehavior, List<Length> native "*SV
@DocsEditable
final int numberOfItems;
- Length operator[](int index) => JS("Length", "#[#]", this, index);
+ Length operator[](int index) => this.getItem(index);
void operator[]=(int index, Length value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
@@ -3674,7 +3674,7 @@ class NumberList implements JavaScriptIndexingBehavior, List<Number> native "*SV
@DocsEditable
final int numberOfItems;
- Number operator[](int index) => JS("Number", "#[#]", this, index);
+ Number operator[](int index) => this.getItem(index);
void operator[]=(int index, Number value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
@@ -4574,7 +4574,7 @@ class PathSegList implements JavaScriptIndexingBehavior, List<PathSeg> native "*
@DocsEditable
final int numberOfItems;
- PathSeg operator[](int index) => JS("PathSeg", "#[#]", this, index);
+ PathSeg operator[](int index) => this.getItem(index);
void operator[]=(int index, PathSeg value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
@@ -5458,7 +5458,7 @@ class StringList implements JavaScriptIndexingBehavior, List<String> native "*SV
@DocsEditable
final int numberOfItems;
- String operator[](int index) => JS("String", "#[#]", this, index);
+ String operator[](int index) => this.getItem(index);
void operator[]=(int index, String value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
@@ -6620,7 +6620,7 @@ class TransformList implements List<Transform>, JavaScriptIndexingBehavior nativ
@DocsEditable
final int numberOfItems;
- Transform operator[](int index) => JS("Transform", "#[#]", this, index);
+ Transform operator[](int index) => this.getItem(index);
void operator[]=(int index, Transform value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
@@ -7139,7 +7139,7 @@ class _ElementInstanceList implements JavaScriptIndexingBehavior, List<ElementIn
@DocsEditable
int get length => JS("int", "#.length", this);
- ElementInstance operator[](int index) => JS("ElementInstance", "#[#]", this, index);
+ ElementInstance operator[](int index) => this.item(index);
void operator[]=(int index, ElementInstance value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
« no previous file with comments | « no previous file | sdk/lib/web_sql/dart2js/web_sql_dart2js.dart » ('j') | tests/html/websql_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698