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

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

Issue 9453030: Fix for issue 1814 for dart:dom (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix typo Created 8 years, 10 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/dom/generated/src/frog/Int8Array.dart ('k') | client/dom/generated/src/frog/Uint32Array.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/generated/src/frog/Uint16Array.dart
diff --git a/client/dom/generated/src/frog/Uint16Array.dart b/client/dom/generated/src/frog/Uint16Array.dart
index fb825bc09b54671a99596eaf32631b2be6525691..54ae14ff4f471f427b9bf60d1353e70291dd2828 100644
--- a/client/dom/generated/src/frog/Uint16Array.dart
+++ b/client/dom/generated/src/frog/Uint16Array.dart
@@ -84,7 +84,9 @@ class _Uint16ArrayJs extends _ArrayBufferViewJs implements Uint16Array, List<int
// -- end List<int> mixins.
- void setElements(Object array, [int offset = null]) native;
+ void setElements(Object array, [int offset = null]) native '''
+if (offset == null) return this.set(array);
+return this.set(array, offset);''';
_Uint16ArrayJs subarray(int start, [int end = null]) native;
}
« no previous file with comments | « client/dom/generated/src/frog/Int8Array.dart ('k') | client/dom/generated/src/frog/Uint32Array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698