| Index: lib/html/dartium/html_dartium.dart
|
| diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
|
| index 65cf31053195ba2e892dc40d31522d22e58daaba..9a5461c2a03e89529e6162d058acc2de654efce5 100644
|
| --- a/lib/html/dartium/html_dartium.dart
|
| +++ b/lib/html/dartium/html_dartium.dart
|
| @@ -115,6 +115,14 @@ class _AbstractWorkerImpl extends _EventTargetImpl implements AbstractWorker {
|
| // 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.
|
|
|
| +class _ArrayBufferFactoryProvider {
|
| + factory ArrayBuffer(int length) => _createArrayBuffer(length);
|
| + static ArrayBuffer _createArrayBuffer(int length) native "ArrayBuffer_constructor_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
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| // WARNING: Do not edit - generated code.
|
|
|
| class _ArrayBufferImpl extends NativeFieldWrapperClass1 implements ArrayBuffer {
|
| @@ -21931,7 +21939,9 @@ interface AreaElement extends Element default _Elements {
|
| // WARNING: Do not edit - generated code.
|
|
|
| /// @domName ArrayBuffer
|
| -interface ArrayBuffer {
|
| +interface ArrayBuffer default _ArrayBufferFactoryProvider {
|
| +
|
| + ArrayBuffer(int length);
|
|
|
| /** @domName ArrayBuffer.byteLength */
|
| final int byteLength;
|
|
|