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

Unified Diff: client/dom/generated/src/interface/Uint16Array.dart

Issue 8883007: Revert "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
Index: client/dom/generated/src/interface/Uint16Array.dart
diff --git a/client/dom/generated/src/interface/Uint16Array.dart b/client/dom/generated/src/interface/Uint16Array.dart
index eb4be31174ea3d002daa2817268af6964ed47174..a338e1578bd8cc629df2485bcbc4b9a1bd67814c 100644
--- a/client/dom/generated/src/interface/Uint16Array.dart
+++ b/client/dom/generated/src/interface/Uint16Array.dart
@@ -4,7 +4,13 @@
// WARNING: Do not edit - generated code.
-interface Uint16Array extends ArrayBufferView {
+interface Uint16Array extends ArrayBufferView, List<int> factory _TypedArrayFactoryProvider {
+
+ Uint16Array(int length);
+
+ Uint16Array.fromList(List<int> list);
+
+ Uint16Array.fromBuffer(ArrayBuffer buffer);
static final int BYTES_PER_ELEMENT = 2;
« no previous file with comments | « client/dom/generated/src/interface/Int8Array.dart ('k') | client/dom/generated/src/interface/Uint32Array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698