Index: lib/compiler/implementation/lib/native_helper.dart |
diff --git a/lib/compiler/implementation/lib/native_helper.dart b/lib/compiler/implementation/lib/native_helper.dart |
index b9adb168ca35434cc1c1fcd9f0476ac1a3e545fa..c2181c951f907ee47a003e629eb1ed98580602ab 100644 |
--- a/lib/compiler/implementation/lib/native_helper.dart |
+++ b/lib/compiler/implementation/lib/native_helper.dart |
@@ -5,6 +5,7 @@ |
String typeNameInChrome(obj) { |
String name = JS('String', "#.constructor.name", obj); |
if (name == 'Window') return 'DOMWindow'; |
+ if (name == 'CanvasPixelArray') return 'Uint8ClampedArray'; |
return name; |
} |