| Index: tools/dom/templates/html/impl/impl_AudioContext.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_AudioContext.darttemplate b/tools/dom/templates/html/impl/impl_AudioContext.darttemplate
|
| index 47b17e758b6877ddf8c5f471eb5b23a68fe24d69..1f5569b23a1cd383b1c7d3cf1e520b8649e8c1e6 100644
|
| --- a/tools/dom/templates/html/impl/impl_AudioContext.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_AudioContext.darttemplate
|
| @@ -8,6 +8,9 @@ part of web_audio;
|
| class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| $!MEMBERS
|
| $if DART2JS
|
| + static AudioContext _create() => JS('AudioContext',
|
| + 'new (window.AudioContext || window.webkitAudioContext)()');
|
| +
|
| GainNode createGain() {
|
| if (JS('bool', '#.createGain !== undefined', this)) {
|
| return JS('GainNode', '#.createGain()', this);
|
|
|