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

Unified Diff: samples/sunflower/web/sunflower.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/spirodraw.dart ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/sunflower/web/sunflower.dart
diff --git a/samples/sunflower/web/sunflower.dart b/samples/sunflower/web/sunflower.dart
index 07036582efeca2485cc43a15d68fa762a09dc816..06eff35d1f52bfd54e6c1d187b4f18081a1ef994 100644
--- a/samples/sunflower/web/sunflower.dart
+++ b/samples/sunflower/web/sunflower.dart
@@ -20,7 +20,7 @@ final Element notes = query("#notes");
final num PHI = (sqrt(5) + 1) / 2;
int seeds = 0;
final CanvasRenderingContext2D context =
- (query("#canvas") as CanvasElement).context2d;
+ (query("#canvas") as CanvasElement).context2D;
void main() {
slider.onChange.listen((e) => draw());
« no previous file with comments | « samples/spirodraw/web/spirodraw.dart ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698