Index: samples/spirodraw/web/spirodraw.dart |
diff --git a/samples/spirodraw/web/spirodraw.dart b/samples/spirodraw/web/spirodraw.dart |
index 7afd1096dbe08d4d4f3b443bc765f01f09404976..2f07718409d5d22e1d5fc81c283c369ed2161d0a 100644 |
--- a/samples/spirodraw/web/spirodraw.dart |
+++ b/samples/spirodraw/web/spirodraw.dart |
@@ -50,9 +50,9 @@ class Spirodraw { |
speedSlider = doc.query("#speed"); |
mainDiv = doc.query("#main"); |
frontCanvas = doc.query("#canvas"); |
- front = frontCanvas.context2d; |
+ front = frontCanvas.context2D; |
backCanvas = new Element.tag("canvas"); |
- back = backCanvas.context2d; |
+ back = backCanvas.context2D; |
paletteElement = doc.query("#palette"); |
window.onResize.listen(onResize); |
initControlPanel(); |