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

Unified Diff: client/dom/generated/src/frog/AudioParam.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/AudioParam.dart
diff --git a/client/dom/generated/src/frog/AudioParam.dart b/client/dom/generated/src/frog/AudioParam.dart
index 87afdec9adf25a2e1959eb9bd1cae7ea2ba663f3..dd9bb5384c5fe10a62689da2c36379f0ff815cfa 100644
--- a/client/dom/generated/src/frog/AudioParam.dart
+++ b/client/dom/generated/src/frog/AudioParam.dart
@@ -1,19 +1,17 @@
class _AudioParamJs extends _DOMTypeJs implements AudioParam native "*AudioParam" {
- num get defaultValue() native "return this.defaultValue;";
+ final num defaultValue;
- num get maxValue() native "return this.maxValue;";
+ final num maxValue;
- num get minValue() native "return this.minValue;";
+ final num minValue;
- String get name() native "return this.name;";
+ final String name;
- int get units() native "return this.units;";
+ final int units;
- num get value() native "return this.value;";
-
- void set value(num value) native "this.value = value;";
+ num value;
void cancelScheduledValues(num startTime) native;

Powered by Google App Engine
This is Rietveld 408576698