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

Unified Diff: client/dom/generated/src/wrapping/_Uint8ClampedArrayWrappingImplementation.dart

Issue 9539003: Safely wrap window.top in frog dom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and merge 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
Index: client/dom/generated/src/wrapping/_Uint8ClampedArrayWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_Uint8ClampedArrayWrappingImplementation.dart b/client/dom/generated/src/wrapping/_Uint8ClampedArrayWrappingImplementation.dart
index 1c618ff7416d23cd8c47fcc3a8117e789aefb759..99f1334706e8dbd1fddcbbd24959599bc13a5325 100644
--- a/client/dom/generated/src/wrapping/_Uint8ClampedArrayWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_Uint8ClampedArrayWrappingImplementation.dart
@@ -14,6 +14,18 @@ class _Uint8ClampedArrayWrappingImplementation extends _Uint8ArrayWrappingImplem
int get length() { return _get_length_Uint8ClampedArray(this); }
static int _get_length_Uint8ClampedArray(var _this) native;
+ void setElements(Object array, [int offset = null]) {
+ if (offset === null) {
+ _setElements(this, array);
+ return;
+ } else {
+ _setElements_2(this, array, offset);
+ return;
+ }
+ }
+ static void _setElements(receiver, array) native;
+ static void _setElements_2(receiver, array, offset) native;
+
Uint8ClampedArray subarray(int start, [int end = null]) {
if (end === null) {
return _subarray_Uint8ClampedArray(this, start);

Powered by Google App Engine
This is Rietveld 408576698