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

Unified Diff: client/dom/generated/src/frog/EventSource.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/EventSource.dart
diff --git a/client/dom/generated/src/frog/EventSource.dart b/client/dom/generated/src/frog/EventSource.dart
index 79b94d4b537fe8df2089f12db01683b555d937f9..6b9591bd2ad5bdb801520ec45d61633940571d68 100644
--- a/client/dom/generated/src/frog/EventSource.dart
+++ b/client/dom/generated/src/frog/EventSource.dart
@@ -7,11 +7,11 @@ class _EventSourceJs extends _DOMTypeJs implements EventSource native "*EventSou
static final int OPEN = 1;
- String get URL() native "return this.URL;";
+ final String URL;
- int get readyState() native "return this.readyState;";
+ final int readyState;
- String get url() native "return this.url;";
+ final String url;
void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;

Powered by Google App Engine
This is Rietveld 408576698