Index: tests/html/canvas_pixel_array_type_alias_test.dart |
diff --git a/tests/html/canvas_pixel_array_type_alias_test.dart b/tests/html/canvas_pixel_array_type_alias_test.dart |
index bcde1f4e157ed53be4bab6451d442d0a7b2dd57d..250824d86429d850a26052216f72b2ef5257525f 100644 |
--- a/tests/html/canvas_pixel_array_type_alias_test.dart |
+++ b/tests/html/canvas_pixel_array_type_alias_test.dart |
@@ -19,7 +19,7 @@ main() { |
canvas = new Element.tag('canvas'); |
canvas.width = width; |
canvas.height = height; |
- document.body.nodes.add(canvas); |
+ document.body.append(canvas); |
context = canvas.getContext('2d'); |