diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart index f66bf3a19f9..c6f568b6533 100644 --- a/sdk/lib/html/dart2js/html_dart2js.dart +++ b/sdk/lib/html/dart2js/html_dart2js.dart @@ -7771,7 +7771,7 @@ class _ChildrenElementList extends ListBase { } Iterable skip(int n) { - return _childElements.skipList(n); + return _childElements.skip(n); } Iterable skipWhile(bool test(Element value)) { @@ -7960,7 +7960,7 @@ class _ChildrenElementList extends ListBase { } Map asMap() { - return _childElements.asMapList(this); + return _childElements.asMap(); } String toString() { diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart index 35282600d31..a2563f71130 100644 --- a/sdk/lib/html/dartium/html_dartium.dart +++ b/sdk/lib/html/dartium/html_dartium.dart @@ -8393,7 +8393,7 @@ class _ChildrenElementList extends ListBase { } Iterable skip(int n) { - return _childElements.skipList(n); + return _childElements.skip(n); } Iterable skipWhile(bool test(Element value)) { @@ -8582,7 +8582,7 @@ class _ChildrenElementList extends ListBase { } Map asMap() { - return _childElements.asMapList(this); + return _childElements.asMap(); } String toString() { diff --git a/sdk/lib/web_audio/dartium/web_audio_dartium.dart b/sdk/lib/web_audio/dartium/web_audio_dartium.dart index 99c09b82150..4b410d1d43e 100644 --- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart +++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart @@ -231,6 +231,10 @@ class AudioContext extends EventTarget { @DomName('AudioContext.completeEvent') @DocsEditable static const EventStreamProvider completeEvent = const EventStreamProvider('complete'); + factory AudioContext() => _create(); + + @DocsEditable + static AudioContext _create() native "AudioContext_constructorCallback"; /// Checks if this type is supported on the current platform. static bool get supported => true; @@ -1113,6 +1117,10 @@ class ScriptProcessorNode extends AudioNode { @DocsEditable int get bufferSize native "ScriptProcessorNode_bufferSize_Getter"; + @DomName('ScriptProcessorNode._setEventListener') + @DocsEditable + void _setEventListener(EventListener eventListener) native "ScriptProcessorNode__setEventListener_Callback"; + } // 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 diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate index bdfd4c91c21..5c5482fd24f 100644 --- a/tools/dom/templates/html/impl/impl_Element.darttemplate +++ b/tools/dom/templates/html/impl/impl_Element.darttemplate @@ -92,7 +92,7 @@ class _ChildrenElementList extends ListBase { } Iterable skip(int n) { - return _childElements.skipList(n); + return _childElements.skip(n); } Iterable skipWhile(bool test(Element value)) { @@ -281,7 +281,7 @@ class _ChildrenElementList extends ListBase { } Map asMap() { - return _childElements.asMapList(this); + return _childElements.asMap(); } String toString() {