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

Unified Diff: sky/tests/raw/render_box.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: . 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
Index: sky/tests/raw/render_box.dart
diff --git a/sky/tests/raw/render_box.dart b/sky/tests/raw/render_box.dart
index bf44896174dd56ff6d721bd1174664aa77f25058..ceb14a4465ec8efb732451b721f225e21e504a27 100644
--- a/sky/tests/raw/render_box.dart
+++ b/sky/tests/raw/render_box.dart
@@ -14,7 +14,7 @@ void main() {
test("should size to render view", () {
RenderSizedBox root = new RenderSizedBox(
child: new RenderDecoratedBox(
- decoration: new BoxDecoration(backgroundColor: 0xFF00FF00)
+ decoration: new BoxDecoration(backgroundColor: sky.Color.green)
)
);
TestView renderView = new TestView(child: root);

Powered by Google App Engine
This is Rietveld 408576698