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

Unified Diff: samples/swarm/SwarmViews.dart

Issue 11418075: Dartifying members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing menuelement.compact exclusion. Created 8 years, 1 month 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/playground/playground.html ('k') | samples/third_party/dromaeo/Dromaeo.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/swarm/SwarmViews.dart
diff --git a/samples/swarm/SwarmViews.dart b/samples/swarm/SwarmViews.dart
index c40f571ccbc3bc549ce8f3638df6ac5b575786ee..adaa779075e524ea5dc40da1f34fc132a4014b53 100644
--- a/samples/swarm/SwarmViews.dart
+++ b/samples/swarm/SwarmViews.dart
@@ -781,11 +781,11 @@ class ArticleView extends View {
}
});
}
-
+
/**
- * Notify the view to jump to a different area if we are selecting an
+ * Notify the view to jump to a different area if we are selecting an
* article that is currently outside of the visible area.
- */
+ */
void _updateViewForSelectedArticle() {
Article selArticle = swarm.state.selectedArticle.value;
if (swarm.state.hasArticleSelected) {
@@ -816,7 +816,7 @@ class ArticleView extends View {
final CanvasRenderingContext2D ctx = canvas.getContext("2d");
ctx.drawImage(img, 0, 0, img.width, img.height);
- return canvas.toDataURL("image/png");
+ return canvas.toDataUrl("image/png");
}
/**
« no previous file with comments | « samples/playground/playground.html ('k') | samples/third_party/dromaeo/Dromaeo.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698