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

Unified Diff: client/dom/generated/src/frog/WorkerLocation.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/WorkerLocation.dart
diff --git a/client/dom/generated/src/frog/WorkerLocation.dart b/client/dom/generated/src/frog/WorkerLocation.dart
index b9cf5d3275ae32f630d36446415ecc8ab55ec4ef..ba0b419992d0362f41f4159da432d90025e7c507 100644
--- a/client/dom/generated/src/frog/WorkerLocation.dart
+++ b/client/dom/generated/src/frog/WorkerLocation.dart
@@ -1,21 +1,21 @@
class _WorkerLocationJs extends _DOMTypeJs implements WorkerLocation native "*WorkerLocation" {
- String get hash() native "return this.hash;";
+ final String hash;
- String get host() native "return this.host;";
+ final String host;
- String get hostname() native "return this.hostname;";
+ final String hostname;
- String get href() native "return this.href;";
+ final String href;
- String get pathname() native "return this.pathname;";
+ final String pathname;
- String get port() native "return this.port;";
+ final String port;
- String get protocol() native "return this.protocol;";
+ final String protocol;
- String get search() native "return this.search;";
+ final String search;
String toString() native;
}

Powered by Google App Engine
This is Rietveld 408576698