Index: sdk/lib/web_audio/dart2js/web_audio_dart2js.dart |
diff --git a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart |
index b45a5fac2a83f982079d1d868d27bb39d28b199f..cc6faf77a7c4e53ab57c4315a01d87b8ad7086e8 100644 |
--- a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart |
+++ b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart |
@@ -151,8 +151,6 @@ class AudioContext extends EventTarget native "*AudioContext" { |
///@docsEditable true |
factory AudioContext() => AudioContext._create(); |
- static AudioContext _create() => JS('AudioContext', |
- 'new (window.AudioContext || window.webkitAudioContext)()'); |
/// @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent; @docsEditable true |
AudioContextEvents get on => |
@@ -227,6 +225,9 @@ class AudioContext extends EventTarget native "*AudioContext" { |
/// @domName AudioContext.startRendering; @docsEditable true |
void startRendering() native; |
+ static AudioContext _create() => JS('AudioContext', |
+ 'new (window.AudioContext || window.webkitAudioContext)()'); |
+ |
GainNode createGain() { |
if (JS('bool', '#.createGain !== undefined', this)) { |
return JS('GainNode', '#.createGain()', this); |