Index: tests/html/canvasrenderingcontext2d_test.dart |
diff --git a/tests/html/canvasrenderingcontext2d_test.dart b/tests/html/canvasrenderingcontext2d_test.dart |
index 7e82241f67eaf7f209e7a1a20d1ded65e372b00d..8de0001d8540ccf535173a8d836e964ea7814255 100644 |
--- a/tests/html/canvasrenderingcontext2d_test.dart |
+++ b/tests/html/canvasrenderingcontext2d_test.dart |
@@ -26,14 +26,14 @@ void createCanvas() { |
canvas.width = 100; |
canvas.height = 100; |
- context = canvas.context2d; |
+ context = canvas.context2D; |
} |
void createOtherCanvas() { |
otherCanvas = new CanvasElement(); |
otherCanvas.width = 10; |
otherCanvas.height = 10; |
- otherContext = otherCanvas.context2d; |
+ otherContext = otherCanvas.context2D; |
otherContext.fillStyle = "red"; |
otherContext.fillRect(0, 0, otherCanvas.width, otherCanvas.height); |
} |