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/CloseEvent.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/CloseEvent.dart
diff --git a/client/dom/generated/src/frog/CloseEvent.dart b/client/dom/generated/src/frog/CloseEvent.dart
index 72b3e79e8a5dbc5a67bcae11b4e32421a0ed252d..5b2faba21d6220a995cd6c929e333c1979da03a4 100644
--- a/client/dom/generated/src/frog/CloseEvent.dart
+++ b/client/dom/generated/src/frog/CloseEvent.dart
@@ -1,9 +1,9 @@
class _CloseEventJs extends _EventJs implements CloseEvent native "*CloseEvent" {
- int get code() native "return this.code;";
+ final int code;
- String get reason() native "return this.reason;";
+ final String reason;
- bool get wasClean() native "return this.wasClean;";
+ final bool wasClean;
}

Powered by Google App Engine
This is Rietveld 408576698