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

Unified Diff: sky/examples/raw/transform.dart

Issue 1162023004: Update BoxDecoration and RenderParagraph to use sky.Color instead of int. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: test expectations Created 5 years, 7 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/sector_layout.dart ('k') | sky/examples/stocks2/lib/stock_app.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/raw/transform.dart
diff --git a/sky/examples/raw/transform.dart b/sky/examples/raw/transform.dart
index b5c04a58daf9af9ed915be668b58698c9670b072..5c895977c9afd6e4716f2dec18c4d805a42fca2a 100644
--- a/sky/examples/raw/transform.dart
+++ b/sky/examples/raw/transform.dart
@@ -12,7 +12,7 @@ AppView app;
void main() {
RenderDecoratedBox green = new RenderDecoratedBox(
- decoration: new BoxDecoration(backgroundColor: 0xFF00FF00));
+ decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFF00FF00)));
RenderSizedBox box = new RenderSizedBox(
desiredSize: new sky.Size(200.0, 200.0), child: green);
« no previous file with comments | « sky/examples/raw/sector_layout.dart ('k') | sky/examples/stocks2/lib/stock_app.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698