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

Unified Diff: client/dom/generated/src/wrapping/_NamedNodeMapWrappingImplementation.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/_NamedNodeMapWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_NamedNodeMapWrappingImplementation.dart b/client/dom/generated/src/wrapping/_NamedNodeMapWrappingImplementation.dart
index 158b9263b57e98c129862d688ab29cd3329cdb54..8e02699c3764d70e42021d94b294fa87e5e12f3d 100644
--- a/client/dom/generated/src/wrapping/_NamedNodeMapWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_NamedNodeMapWrappingImplementation.dart
@@ -14,9 +14,8 @@ class _NamedNodeMapWrappingImplementation extends DOMWrapperBase implements Name
int get length() { return _get_length(this); }
static int _get_length(var _this) native;
- Node operator[](int index) {
- return item(index);
- }
+ Node operator[](int index) { return _index(this, index); }
+ static Node _index(var _this, int index) native;
void operator[]=(int index, Node value) {
throw new UnsupportedOperationException("Cannot assign element of immutable List.");

Powered by Google App Engine
This is Rietveld 408576698