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

Unified Diff: sky/tests/raw/box_layout.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/sdk/lib/framework/rendering/paragraph.dart ('k') | sky/tests/raw/box_layout-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/raw/box_layout.dart
diff --git a/sky/tests/raw/box_layout.dart b/sky/tests/raw/box_layout.dart
index 7e686632b2494ca89df99ff88d36f01f531c180c..6572ab9bed1c406f188d5e61d124b8f29b385998 100644
--- a/sky/tests/raw/box_layout.dart
+++ b/sky/tests/raw/box_layout.dart
@@ -15,10 +15,10 @@ void main() {
test("padding", () {
var size = new RenderSizedBox(desiredSize: new sky.Size(double.INFINITY, 100.0));
- var inner = new RenderDecoratedBox(decoration: new BoxDecoration(backgroundColor: 0xFF00FF00), child: size);
+ var inner = new RenderDecoratedBox(decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFF00FF00)), child: size);
var padding = new RenderPadding(padding: new EdgeDims.all(50.0), child: inner);
var block = new RenderBlock(children: [padding]);
- var outer = new RenderDecoratedBox(decoration: new BoxDecoration(backgroundColor: 0xFF0000FF), child: block);
+ var outer = new RenderDecoratedBox(decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFF0000FF)), child: block);
app = new TestApp(outer);
});
}
« no previous file with comments | « sky/sdk/lib/framework/rendering/paragraph.dart ('k') | sky/tests/raw/box_layout-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698