Index: tests/html/canvas_test.dart |
diff --git a/tests/html/canvas_test.dart b/tests/html/canvas_test.dart |
index f343b3297e5b7d0bdce230f50949093f9aea2034..97f6119f69bdd3b0a0edf53ff877f0afed0a0797 100644 |
--- a/tests/html/canvas_test.dart |
+++ b/tests/html/canvas_test.dart |
@@ -10,7 +10,7 @@ main() { |
int height = 100; |
canvas = new CanvasElement(width:width, height:height); |
- document.body.nodes.add(canvas); |
+ document.body.append(canvas); |
context = canvas.context2D; |