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

Unified Diff: client/dom/generated/src/frog/Uint16Array.dart

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native Created 8 years, 11 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
Index: client/dom/generated/src/frog/Uint16Array.dart
diff --git a/client/dom/generated/src/frog/Uint16Array.dart b/client/dom/generated/src/frog/Uint16Array.dart
index c6b1a9fe0e441e095ff0999f6447da2c2b7af5c5..fb825bc09b54671a99596eaf32631b2be6525691 100644
--- a/client/dom/generated/src/frog/Uint16Array.dart
+++ b/client/dom/generated/src/frog/Uint16Array.dart
@@ -11,7 +11,7 @@ class _Uint16ArrayJs extends _ArrayBufferViewJs implements Uint16Array, List<int
static final int BYTES_PER_ELEMENT = 2;
- int get length() native "return this.length;";
+ final int length;
int operator[](int index) native "return this[index];";

Powered by Google App Engine
This is Rietveld 408576698