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/SharedWorkerContext.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/SharedWorkerContext.dart
diff --git a/client/dom/generated/src/frog/SharedWorkerContext.dart b/client/dom/generated/src/frog/SharedWorkerContext.dart
index ac2bae55803c506271c8beadbb322b8a9e1903b2..d6770b7d13b1cb448789bd26cb41da934cafe1bd 100644
--- a/client/dom/generated/src/frog/SharedWorkerContext.dart
+++ b/client/dom/generated/src/frog/SharedWorkerContext.dart
@@ -1,9 +1,7 @@
class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerContext native "*SharedWorkerContext" {
- String get name() native "return this.name;";
+ final String name;
- EventListener get onconnect() native "return this.onconnect;";
-
- void set onconnect(EventListener value) native "this.onconnect = value;";
+ EventListener onconnect;
}

Powered by Google App Engine
This is Rietveld 408576698