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

Unified Diff: client/dom/templates/dom/wrapping/wrapping_dom.js

Issue 9264057: Refresh dart:dom libraries from WebKit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't re-implement List<>, causes code that dartc rejects due to static 'override' Created 8 years, 11 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/templates/dom/wrapping/wrapping_dom.js
diff --git a/client/dom/templates/dom/wrapping/wrapping_dom.js b/client/dom/templates/dom/wrapping/wrapping_dom.js
index 03d296a80e2dc0fe3003ed1d577401b5f1261552..ea47d8bef91d44f139961abadaa3109878ef92c4 100644
--- a/client/dom/templates/dom/wrapping/wrapping_dom.js
+++ b/client/dom/templates/dom/wrapping/wrapping_dom.js
@@ -130,6 +130,14 @@ function native__TypedArrayFactoryProvider__U32(arg) {
}
}
+function native__TypedArrayFactoryProvider__U8C(arg) {
+ try {
+ return __dom_wrap(new Uint8ClampedArray(__dom_unwrap(arg)));
+ } catch (e) {
+ throw __dom_wrap_exception(e);
+ }
+}
+
function native__WebKitCSSMatrixFactoryProvider_create(spec) {
try {
return __dom_wrap(new WebKitCSSMatrix(spec)); // string doesn't need unwrap.

Powered by Google App Engine
This is Rietveld 408576698