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

Unified Diff: client/dom/generated/src/wrapping/_TouchListWrappingImplementation.dart

Issue 8784013: Fix CanvasPixelArray's operator[] for the wrapping js dom (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rerun Created 9 years 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: client/dom/generated/src/wrapping/_TouchListWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_TouchListWrappingImplementation.dart b/client/dom/generated/src/wrapping/_TouchListWrappingImplementation.dart
index f6b7564210af23c86cd8866a860fdd02c021c448..664061cb3e38365f1d66a89658aa5e16c90a090c 100644
--- a/client/dom/generated/src/wrapping/_TouchListWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_TouchListWrappingImplementation.dart
@@ -14,9 +14,8 @@ class _TouchListWrappingImplementation extends DOMWrapperBase implements TouchLi
int get length() { return _get_length(this); }
static int _get_length(var _this) native;
- Touch operator[](int index) {
- return item(index);
- }
+ Touch operator[](int index) { return _index(this, index); }
+ static Touch _index(var _this, int index) native;
void operator[]=(int index, Touch value) {
throw new UnsupportedOperationException("Cannot assign element of immutable List.");
« no previous file with comments | « client/dom/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart ('k') | client/dom/generated/wrapping_dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698