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

Unified Diff: sky/examples/raw/custom_paint_without_element.sky

Issue 1184523002: Fix bustage from my previous CL: "Color.fromARGB" becomes "new Color.fromARGB". (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « sky/examples/raw/circle.sky ('k') | sky/examples/raw/draw_picture_into_canvas.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/raw/custom_paint_without_element.sky
diff --git a/sky/examples/raw/custom_paint_without_element.sky b/sky/examples/raw/custom_paint_without_element.sky
index 72a6c2f41dba5a16de623d47ef8bac3d043e72da..cf36a2b4ed6086c86e4acbcbfef1472fc13c7843 100644
--- a/sky/examples/raw/custom_paint_without_element.sky
+++ b/sky/examples/raw/custom_paint_without_element.sky
@@ -9,7 +9,7 @@ void main() {
PictureRecorder recorder = new PictureRecorder(width, height);
double radius = min(width, height) * 0.45;
- Paint paint = new Paint()..color = Color.fromARGB(255, 0, 255, 0);
+ Paint paint = new Paint()..color = const Color.fromARGB(255, 0, 255, 0);
recorder.drawCircle(width / 2, height / 2, radius, paint);
« no previous file with comments | « sky/examples/raw/circle.sky ('k') | sky/examples/raw/draw_picture_into_canvas.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698