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

Unified Diff: client/dom/generated/src/frog/MediaList.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/MediaList.dart
diff --git a/client/dom/generated/src/frog/MediaList.dart b/client/dom/generated/src/frog/MediaList.dart
index 02b29854f90e269266adc2208b8b7c30d812f315..3c2dd7c4f5aeba5fc404826786d6c8246d1ad7c1 100644
--- a/client/dom/generated/src/frog/MediaList.dart
+++ b/client/dom/generated/src/frog/MediaList.dart
@@ -1,11 +1,9 @@
class _MediaListJs extends _DOMTypeJs implements MediaList native "*MediaList" {
- int get length() native "return this.length;";
+ final int length;
- String get mediaText() native "return this.mediaText;";
-
- void set mediaText(String value) native "this.mediaText = value;";
+ String mediaText;
String operator[](int index) native "return this[index];";

Powered by Google App Engine
This is Rietveld 408576698