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

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

Issue 9302026: Fix dart_client break (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « client/dom/generated/wrapping_dom.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ea47d8bef91d44f139961abadaa3109878ef92c4..ab532441ec0913d8310e16a6ed04877b56e52b73 100644
--- a/client/dom/templates/dom/wrapping/wrapping_dom.js
+++ b/client/dom/templates/dom/wrapping/wrapping_dom.js
@@ -132,7 +132,8 @@ function native__TypedArrayFactoryProvider__U32(arg) {
function native__TypedArrayFactoryProvider__U8C(arg) {
try {
- return __dom_wrap(new Uint8ClampedArray(__dom_unwrap(arg)));
+ // Use array syntax because JSCompiler doesn't know this symbol.
+ return __dom_wrap(new window['Uint8ClampedArray'](__dom_unwrap(arg)));
} catch (e) {
throw __dom_wrap_exception(e);
}
« no previous file with comments | « client/dom/generated/wrapping_dom.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698