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

Unified Diff: client/dom/generated/src/frog/SVGLength.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/SVGLength.dart
diff --git a/client/dom/generated/src/frog/SVGLength.dart b/client/dom/generated/src/frog/SVGLength.dart
index d38c412e01ac58d0247f96293d30fc8ff5a72cf9..d4a6962016a9dce3e71449d149b871c6dd94f2c7 100644
--- a/client/dom/generated/src/frog/SVGLength.dart
+++ b/client/dom/generated/src/frog/SVGLength.dart
@@ -23,19 +23,13 @@ class _SVGLengthJs extends _DOMTypeJs implements SVGLength native "*SVGLength" {
static final int SVG_LENGTHTYPE_UNKNOWN = 0;
- int get unitType() native "return this.unitType;";
+ final int unitType;
- num get value() native "return this.value;";
+ num value;
- void set value(num value) native "this.value = value;";
+ String valueAsString;
- String get valueAsString() native "return this.valueAsString;";
-
- void set valueAsString(String value) native "this.valueAsString = value;";
-
- num get valueInSpecifiedUnits() native "return this.valueInSpecifiedUnits;";
-
- void set valueInSpecifiedUnits(num value) native "this.valueInSpecifiedUnits = value;";
+ num valueInSpecifiedUnits;
void convertToSpecifiedUnits(int unitType) native;

Powered by Google App Engine
This is Rietveld 408576698