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

Unified Diff: client/samples/spirodraw/Spirodraw.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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
Index: client/samples/spirodraw/Spirodraw.dart
diff --git a/client/samples/spirodraw/Spirodraw.dart b/client/samples/spirodraw/Spirodraw.dart
index a02e48d1c2796145ef92833100e93a182841edaa..49f514506c3c28c167d9caaa5944c454464ab378 100644
--- a/client/samples/spirodraw/Spirodraw.dart
+++ b/client/samples/spirodraw/Spirodraw.dart
@@ -53,7 +53,7 @@ class Spirodraw {
mainDiv = doc.getElementById("main");
frontCanvas = doc.getElementById("canvas");
front = frontCanvas.getContext("2d");
- backCanvas = doc.createElement("canvas");
+ backCanvas = new Element.tag("canvas");
back = backCanvas.getContext("2d");
paletteElement = doc.getElementById("palette");
window.addEventListener('resize', (Event) => onResize(), true);

Powered by Google App Engine
This is Rietveld 408576698