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

Unified Diff: client/dom/generated/src/wrapping/_MediaListWrappingImplementation.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/_MediaListWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_MediaListWrappingImplementation.dart b/client/dom/generated/src/wrapping/_MediaListWrappingImplementation.dart
index d9ef8627c01d82d9dd99c127e497b5e2265d6a17..ca3b858dc1a5544d00b0d6bcccb6e2f0c1980333 100644
--- a/client/dom/generated/src/wrapping/_MediaListWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_MediaListWrappingImplementation.dart
@@ -20,9 +20,8 @@ class _MediaListWrappingImplementation extends DOMWrapperBase implements MediaLi
void set mediaText(String value) { _set_mediaText(this, value); }
static void _set_mediaText(var _this, String value) native;
- String operator[](int index) {
- return item(index);
- }
+ String operator[](int index) { return _index(this, index); }
+ static String _index(var _this, int index) native;
void operator[]=(int index, String value) {
throw new UnsupportedOperationException("Cannot assign element of immutable List.");

Powered by Google App Engine
This is Rietveld 408576698