Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1368)

Unified Diff: samples/spirodraw/web/spirodraw.dart

Issue 13726010: Rename context2d to context2D. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/spirodraw/web/colorpicker.dart ('k') | samples/sunflower/web/sunflower.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « samples/spirodraw/web/colorpicker.dart ('k') | samples/sunflower/web/sunflower.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698