Index: tests/html/canvas_test.dart |
diff --git a/tests/html/canvas_test.dart b/tests/html/canvas_test.dart |
index 56994f0ee5045b243f775f53ffe58d9b34d1d014..79c48cb119462d113421e11e4a2493554af50380 100644 |
--- a/tests/html/canvas_test.dart |
+++ b/tests/html/canvas_test.dart |
@@ -18,7 +18,7 @@ main() { |
test('CreateImageData', () { |
ImageData image = context.createImageData(canvas.width, |
canvas.height); |
- Uint8ClampedArray data = image.data; |
+ List<int> data = image.data; |
expect(data, hasLength(40000)); |
checkPixel(data, 0, [0, 0, 0, 0]); |
@@ -49,7 +49,7 @@ main() { |
}); |
} |
-void checkPixel(Uint8ClampedArray data, int offset, List<int> rgba) |
+void checkPixel(List<int> data, int offset, List<int> rgba) |
{ |
offset *= 4; |
for (var i = 0; i < 4; ++i) { |