| 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 1ef4069fa5e4d011dc663061865ca1317b1f26fb..9100aba078d63a5e7de27b6ccbff08055729b96f 100644
|
| --- a/tools/dom/templates/html/impl/impl_AudioContext.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_AudioContext.darttemplate
|
| @@ -22,10 +22,10 @@ $if DART2JS
|
| [int numberOfInputChannels, int numberOfOutputChannels]) {
|
| var function = JS('dynamic', '#.createScriptProcessor || '
|
| '#.createJavaScriptNode', this, this);
|
| - if (?numberOfOutputChannels) {
|
| + if (numberOfOutputChannels != null) {
|
| return JS('ScriptProcessorNode', '#.call(#, #, #, #)', function, this,
|
| bufferSize, numberOfInputChannels, numberOfOutputChannels);
|
| - } else if (?numberOfInputChannels) {
|
| + } else if (numberOfInputChannels != null) {
|
| return JS('ScriptProcessorNode', '#.call(#, #, #)', function, this,
|
| bufferSize, numberOfInputChannels);
|
| } else {
|
|
|