| Index: lib/html/dartium/html_dartium.dart
|
| diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
|
| index 577b0929ac40d4c0a6766b0b1861e580ab86127e..2e2361e1c901e48e322494962082dba9e18c6c84 100644
|
| --- a/lib/html/dartium/html_dartium.dart
|
| +++ b/lib/html/dartium/html_dartium.dart
|
| @@ -5309,14 +5309,6 @@ class _DataTransferItemListImpl extends _DOMWrapperBase implements DataTransferI
|
| // 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 _DataViewFactoryProvider {
|
| - factory DataView(ArrayBuffer buffer, [int byteOffset = null, int byteLength = null]) => _createDataView(buffer, byteOffset, byteLength);
|
| - static DataView _createDataView(ArrayBuffer buffer, [int byteOffset = null, int byteLength = null]) native "DataView_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 _DataViewImpl extends _ArrayBufferViewImpl implements DataView {
|
| @@ -5365,7 +5357,7 @@ class _DataViewImpl extends _ArrayBufferViewImpl implements DataView {
|
|
|
| int _getInt32_2(byteOffset, littleEndian) native "DataView_getInt32_2_Callback";
|
|
|
| - int getInt8(int byteOffset) native "DataView_getInt8_Callback";
|
| + Object getInt8() native "DataView_getInt8_Callback";
|
|
|
| int getUint16(byteOffset, [littleEndian = _null]) {
|
| if (littleEndian === _null) {
|
| @@ -5389,7 +5381,7 @@ class _DataViewImpl extends _ArrayBufferViewImpl implements DataView {
|
|
|
| int _getUint32_2(byteOffset, littleEndian) native "DataView_getUint32_2_Callback";
|
|
|
| - int getUint8(int byteOffset) native "DataView_getUint8_Callback";
|
| + Object getUint8() native "DataView_getUint8_Callback";
|
|
|
| void setFloat32(byteOffset, value, [littleEndian = _null]) {
|
| if (littleEndian === _null) {
|
| @@ -5439,7 +5431,7 @@ class _DataViewImpl extends _ArrayBufferViewImpl implements DataView {
|
|
|
| void _setInt32_2(byteOffset, value, littleEndian) native "DataView_setInt32_2_Callback";
|
|
|
| - void setInt8(int byteOffset, int value) native "DataView_setInt8_Callback";
|
| + void setInt8() native "DataView_setInt8_Callback";
|
|
|
| void setUint16(byteOffset, value, [littleEndian = _null]) {
|
| if (littleEndian === _null) {
|
| @@ -5465,7 +5457,7 @@ class _DataViewImpl extends _ArrayBufferViewImpl implements DataView {
|
|
|
| void _setUint32_2(byteOffset, value, littleEndian) native "DataView_setUint32_2_Callback";
|
|
|
| - void setUint8(int byteOffset, int value) native "DataView_setUint8_Callback";
|
| + void setUint8() native "DataView_setUint8_Callback";
|
|
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| @@ -25944,9 +25936,7 @@ interface DataTransferItemList {
|
| // WARNING: Do not edit - generated code.
|
|
|
| /// @domName DataView
|
| -interface DataView extends ArrayBufferView default _DataViewFactoryProvider {
|
| -
|
| - DataView(ArrayBuffer buffer, [int byteOffset, int byteLength]);
|
| +interface DataView extends ArrayBufferView {
|
|
|
| /** @domName DataView.getFloat32 */
|
| num getFloat32(int byteOffset, [bool littleEndian]);
|
| @@ -25961,7 +25951,7 @@ interface DataView extends ArrayBufferView default _DataViewFactoryProvider {
|
| int getInt32(int byteOffset, [bool littleEndian]);
|
|
|
| /** @domName DataView.getInt8 */
|
| - int getInt8(int byteOffset);
|
| + Object getInt8();
|
|
|
| /** @domName DataView.getUint16 */
|
| int getUint16(int byteOffset, [bool littleEndian]);
|
| @@ -25970,7 +25960,7 @@ interface DataView extends ArrayBufferView default _DataViewFactoryProvider {
|
| int getUint32(int byteOffset, [bool littleEndian]);
|
|
|
| /** @domName DataView.getUint8 */
|
| - int getUint8(int byteOffset);
|
| + Object getUint8();
|
|
|
| /** @domName DataView.setFloat32 */
|
| void setFloat32(int byteOffset, num value, [bool littleEndian]);
|
| @@ -25985,7 +25975,7 @@ interface DataView extends ArrayBufferView default _DataViewFactoryProvider {
|
| void setInt32(int byteOffset, int value, [bool littleEndian]);
|
|
|
| /** @domName DataView.setInt8 */
|
| - void setInt8(int byteOffset, int value);
|
| + void setInt8();
|
|
|
| /** @domName DataView.setUint16 */
|
| void setUint16(int byteOffset, int value, [bool littleEndian]);
|
| @@ -25994,7 +25984,7 @@ interface DataView extends ArrayBufferView default _DataViewFactoryProvider {
|
| void setUint32(int byteOffset, int value, [bool littleEndian]);
|
|
|
| /** @domName DataView.setUint8 */
|
| - void setUint8(int byteOffset, int value);
|
| + void setUint8();
|
| }
|
| // 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
|
|
|