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

Unified Diff: client/dom/generated/src/frog/Float64Array.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/Float32Array.dart ('k') | client/dom/generated/src/frog/HTMLCollection.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/generated/src/frog/Float64Array.dart
diff --git a/client/dom/generated/src/frog/Float64Array.dart b/client/dom/generated/src/frog/Float64Array.dart
index 5dd61ae595fd808ae614c063f7309509d9bab9b8..31ad1c7350133e42f4abb5f8ee31c1c8b6666a6b 100644
--- a/client/dom/generated/src/frog/Float64Array.dart
+++ b/client/dom/generated/src/frog/Float64Array.dart
@@ -1,21 +1,9 @@
-class Float64Array extends ArrayBufferView implements List<num> native "Float64Array" {
-
- factory Float64Array(int length) => _construct(length);
-
- factory Float64Array.fromList(List<num> list) => _construct(list);
-
- factory Float64Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
-
- static _construct(arg) native 'return new Float64Array(arg);';
+class Float64Array extends ArrayBufferView native "*Float64Array" {
static final int BYTES_PER_ELEMENT = 8;
int length;
- num operator[](int index) native;
-
- void operator[]=(int index, num value) native;
-
Float64Array subarray(int start, [int end = null]) native;
}
« no previous file with comments | « client/dom/generated/src/frog/Float32Array.dart ('k') | client/dom/generated/src/frog/HTMLCollection.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698