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

Unified Diff: client/dom/generated/src/frog/AudioContext.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/AudioContext.dart
diff --git a/client/dom/generated/src/frog/AudioContext.dart b/client/dom/generated/src/frog/AudioContext.dart
index e400a18ae31b8b009b73f06956e122272e4a01e8..5a60dd50194da85ec09b3d1aecf25c1d73d93c8c 100644
--- a/client/dom/generated/src/frog/AudioContext.dart
+++ b/client/dom/generated/src/frog/AudioContext.dart
@@ -3,17 +3,15 @@ class _AudioContextJs extends _DOMTypeJs implements AudioContext native "*AudioC
AudioContext() native;
- num get currentTime() native "return this.currentTime;";
+ final num currentTime;
- _AudioDestinationNodeJs get destination() native "return this.destination;";
+ final _AudioDestinationNodeJs destination;
- _AudioListenerJs get listener() native "return this.listener;";
+ final _AudioListenerJs listener;
- EventListener get oncomplete() native "return this.oncomplete;";
+ EventListener oncomplete;
- void set oncomplete(EventListener value) native "this.oncomplete = value;";
-
- num get sampleRate() native "return this.sampleRate;";
+ final num sampleRate;
_RealtimeAnalyserNodeJs createAnalyser() native;

Powered by Google App Engine
This is Rietveld 408576698