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/frog/HTMLOptionsCollection.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/HTMLOptionsCollection.dart
diff --git a/client/dom/generated/src/frog/HTMLOptionsCollection.dart b/client/dom/generated/src/frog/HTMLOptionsCollection.dart
index c6e46ff7b2eb7c452c1627c89d4ae8c327eb48bb..e4c749d6640e40606d96d2a8911352126d5d3902 100644
--- a/client/dom/generated/src/frog/HTMLOptionsCollection.dart
+++ b/client/dom/generated/src/frog/HTMLOptionsCollection.dart
@@ -1,13 +1,9 @@
class _HTMLOptionsCollectionJs extends _HTMLCollectionJs implements HTMLOptionsCollection native "*HTMLOptionsCollection" {
- int get length() native "return this.length;";
+ int length;
- void set length(int value) native "this.length = value;";
-
- int get selectedIndex() native "return this.selectedIndex;";
-
- void set selectedIndex(int value) native "this.selectedIndex = value;";
+ int selectedIndex;
void remove(int index) native;
}

Powered by Google App Engine
This is Rietveld 408576698