| 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 4a50eba14600d9594afddba9103ce2490e845eb2..dbaef0078d81ae42b9b5cc79086d2b7df46e7e33 100644
|
| --- a/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| +++ b/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart
|
| @@ -268,21 +268,6 @@ class AudioDestinationNode extends AudioNode native "*AudioDestinationNode" {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -/// @domName HTMLAudioElement; @docsEditable true
|
| -class AudioElement extends MediaElement native "*HTMLAudioElement" {
|
| -
|
| - factory AudioElement([String src]) {
|
| - if (!?src) {
|
| - return _AudioElementFactoryProvider.createAudioElement();
|
| - }
|
| - return _AudioElementFactoryProvider.createAudioElement(src);
|
| - }
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| /// @domName AudioGain; @docsEditable true
|
| class AudioGain extends AudioParam native "*AudioGain" {
|
| }
|
| @@ -691,9 +676,6 @@ class WaveShaperNode extends AudioNode native "*WaveShaperNode" {
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -class _AudioElementFactoryProvider {
|
| - static AudioElement createAudioElement([String src = null]) {
|
| - if (src == null) return JS('AudioElement', 'new Audio()');
|
| - return JS('AudioElement', 'new Audio(#)', src);
|
| - }
|
| +/// @domName WaveTable; @docsEditable true
|
| +class WaveTable native "*WaveTable" {
|
| }
|
|
|