Fix bug in previous commit.

Review URL: https://codereview.chromium.org//13860003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21188 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
lrn@google.com 2013-04-10 09:18:40 +00:00
parent 8d7d80ecf2
commit ad2804cf73
4 changed files with 14 additions and 6 deletions

View file

@ -7771,7 +7771,7 @@ class _ChildrenElementList extends ListBase<Element> {
}
Iterable<Element> skip(int n) {
return _childElements.skipList(n);
return _childElements.skip(n);
}
Iterable<Element> skipWhile(bool test(Element value)) {
@ -7960,7 +7960,7 @@ class _ChildrenElementList extends ListBase<Element> {
}
Map<int, Element> asMap() {
return _childElements.asMapList(this);
return _childElements.asMap();
}
String toString() {

View file

@ -8393,7 +8393,7 @@ class _ChildrenElementList extends ListBase<Element> {
}
Iterable<Element> skip(int n) {
return _childElements.skipList(n);
return _childElements.skip(n);
}
Iterable<Element> skipWhile(bool test(Element value)) {
@ -8582,7 +8582,7 @@ class _ChildrenElementList extends ListBase<Element> {
}
Map<int, Element> asMap() {
return _childElements.asMapList(this);
return _childElements.asMap();
}
String toString() {

View file

@ -231,6 +231,10 @@ class AudioContext extends EventTarget {
@DomName('AudioContext.completeEvent')
@DocsEditable
static const EventStreamProvider<Event> completeEvent = const EventStreamProvider<Event>('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

View file

@ -92,7 +92,7 @@ class _ChildrenElementList extends ListBase<Element> {
}
Iterable<Element> skip(int n) {
return _childElements.skipList(n);
return _childElements.skip(n);
}
Iterable<Element> skipWhile(bool test(Element value)) {
@ -281,7 +281,7 @@ class _ChildrenElementList extends ListBase<Element> {
}
Map<int, Element> asMap() {
return _childElements.asMapList(this);
return _childElements.asMap();
}
String toString() {