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

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

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos 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/html/generated/src/wrapping/_TouchListWrappingImplementation.dart
diff --git a/client/html/generated/src/wrapping/_TouchListWrappingImplementation.dart b/client/html/generated/src/wrapping/_TouchListWrappingImplementation.dart
index 0713afaab3217a0d7b2fcde8c853c9066516416a..aa493cd2aa4134bbde32bb125adbd1911b790dea 100644
--- a/client/html/generated/src/wrapping/_TouchListWrappingImplementation.dart
+++ b/client/html/generated/src/wrapping/_TouchListWrappingImplementation.dart
@@ -10,11 +10,11 @@ class TouchListWrappingImplementation extends DOMWrapperBase implements TouchLis
int get length() { return _ptr.length; }
Touch operator[](int index) {
- return item(index);
+ return LevelDom.wrapTouch(_ptr[index]);
}
void operator[]=(int index, Touch value) {
- throw new UnsupportedOperationException("Cannot assign element of immutable List.");
+ _ptr[index] = LevelDom.unwrap(value);
}
void add(Touch value) {

Powered by Google App Engine
This is Rietveld 408576698