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

Unified Diff: client/dom/generated/src/frog/Int32Array.dart

Issue 8885004: Revert "Implement typed array constructors." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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/dom/generated/src/frog/Int16Array.dart ('k') | client/dom/generated/src/frog/Int8Array.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/generated/src/frog/Int32Array.dart
diff --git a/client/dom/generated/src/frog/Int32Array.dart b/client/dom/generated/src/frog/Int32Array.dart
index 57ac3253f9e0c31b0cb76eca5aa3fb4a13de54dd..cd3b9504d7508bb5d52d95211f44b2b85eeb363e 100644
--- a/client/dom/generated/src/frog/Int32Array.dart
+++ b/client/dom/generated/src/frog/Int32Array.dart
@@ -1,21 +1,9 @@
-class Int32Array extends ArrayBufferView implements List<int> native "Int32Array" {
-
- factory Int32Array(int length) => _construct(length);
-
- factory Int32Array.fromList(List<int> list) => _construct(list);
-
- factory Int32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
-
- static _construct(arg) native 'return new Int32Array(arg);';
+class Int32Array extends ArrayBufferView native "*Int32Array" {
static final int BYTES_PER_ELEMENT = 4;
int length;
- int operator[](int index) native;
-
- void operator[]=(int index, int value) native;
-
Int32Array subarray(int start, [int end = null]) native;
}
« no previous file with comments | « client/dom/generated/src/frog/Int16Array.dart ('k') | client/dom/generated/src/frog/Int8Array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698