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

Unified Diff: client/dom/generated/src/frog/NodeList.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/NodeList.dart
diff --git a/client/dom/generated/src/frog/NodeList.dart b/client/dom/generated/src/frog/NodeList.dart
index fd20963337a9004b9ed0fbdbf2c41c527b1027c7..fdda0e2ae77512eb6b06f42df431adcf5fcd1972 100644
--- a/client/dom/generated/src/frog/NodeList.dart
+++ b/client/dom/generated/src/frog/NodeList.dart
@@ -1,7 +1,7 @@
class _NodeListJs extends _DOMTypeJs implements NodeList native "*NodeList" {
- int get length() native "return this.length;";
+ final int length;
_NodeJs operator[](int index) native "return this[index];";

Powered by Google App Engine
This is Rietveld 408576698