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

Unified Diff: client/dom/generated/src/frog/Coordinates.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/Coordinates.dart
diff --git a/client/dom/generated/src/frog/Coordinates.dart b/client/dom/generated/src/frog/Coordinates.dart
index 9c6b92f8c3660d53f0fbd5364b8b9ea5cbe3f1b8..80808a39950814abc163a7b0c30366e9c84e4cda 100644
--- a/client/dom/generated/src/frog/Coordinates.dart
+++ b/client/dom/generated/src/frog/Coordinates.dart
@@ -1,17 +1,17 @@
class _CoordinatesJs extends _DOMTypeJs implements Coordinates native "*Coordinates" {
- num get accuracy() native "return this.accuracy;";
+ final num accuracy;
- num get altitude() native "return this.altitude;";
+ final num altitude;
- num get altitudeAccuracy() native "return this.altitudeAccuracy;";
+ final num altitudeAccuracy;
- num get heading() native "return this.heading;";
+ final num heading;
- num get latitude() native "return this.latitude;";
+ final num latitude;
- num get longitude() native "return this.longitude;";
+ final num longitude;
- num get speed() native "return this.speed;";
+ final num speed;
}

Powered by Google App Engine
This is Rietveld 408576698