Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: lib/dom/dom.dart

Issue 9969036: Revert "Typed array constructors with optional buffer offset and length." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/tests/client/html/TypedArrays2Test.dart ('k') | lib/dom/frog/dom_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/dom.dart
diff --git a/lib/dom/dom.dart b/lib/dom/dom.dart
index a64262c0bfffce5f72ac463465260a0604645fc6..6d1c74180a97bf1ed712378927b21990ca05458a 100644
--- a/lib/dom/dom.dart
+++ b/lib/dom/dom.dart
@@ -3082,7 +3082,7 @@ interface Float32Array extends ArrayBufferView, List<num> default _TypedArrayFac
Float32Array.fromList(List<num> list);
- Float32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ Float32Array.fromBuffer(ArrayBuffer buffer);
static final int BYTES_PER_ELEMENT = 4;
@@ -3104,7 +3104,7 @@ interface Float64Array extends ArrayBufferView, List<num> default _TypedArrayFac
Float64Array.fromList(List<num> list);
- Float64Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ Float64Array.fromBuffer(ArrayBuffer buffer);
static final int BYTES_PER_ELEMENT = 8;
@@ -5391,7 +5391,7 @@ interface Int16Array extends ArrayBufferView, List<int> default _TypedArrayFacto
Int16Array.fromList(List<int> list);
- Int16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ Int16Array.fromBuffer(ArrayBuffer buffer);
static final int BYTES_PER_ELEMENT = 2;
@@ -5413,7 +5413,7 @@ interface Int32Array extends ArrayBufferView, List<int> default _TypedArrayFacto
Int32Array.fromList(List<int> list);
- Int32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ Int32Array.fromBuffer(ArrayBuffer buffer);
static final int BYTES_PER_ELEMENT = 4;
@@ -5435,7 +5435,7 @@ interface Int8Array extends ArrayBufferView, List<int> default _TypedArrayFactor
Int8Array.fromList(List<int> list);
- Int8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ Int8Array.fromBuffer(ArrayBuffer buffer);
static final int BYTES_PER_ELEMENT = 1;
@@ -10248,7 +10248,7 @@ interface Uint16Array extends ArrayBufferView, List<int> default _TypedArrayFact
Uint16Array.fromList(List<int> list);
- Uint16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ Uint16Array.fromBuffer(ArrayBuffer buffer);
static final int BYTES_PER_ELEMENT = 2;
@@ -10270,7 +10270,7 @@ interface Uint32Array extends ArrayBufferView, List<int> default _TypedArrayFact
Uint32Array.fromList(List<int> list);
- Uint32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ Uint32Array.fromBuffer(ArrayBuffer buffer);
static final int BYTES_PER_ELEMENT = 4;
@@ -10292,7 +10292,7 @@ interface Uint8Array extends ArrayBufferView, List<int> default _TypedArrayFacto
Uint8Array.fromList(List<int> list);
- Uint8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ Uint8Array.fromBuffer(ArrayBuffer buffer);
static final int BYTES_PER_ELEMENT = 1;
@@ -10314,7 +10314,7 @@ interface Uint8ClampedArray extends Uint8Array default _TypedArrayFactoryProvide
Uint8ClampedArray.fromList(List<int> list);
- Uint8ClampedArray.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]);
+ Uint8ClampedArray.fromBuffer(ArrayBuffer buffer);
final int length;
« no previous file with comments | « client/tests/client/html/TypedArrays2Test.dart ('k') | lib/dom/frog/dom_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698