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

Unified Diff: sky/tests/resources/display_list.dart

Issue 1159663003: Re-land "Add a Color class to dart:sky." (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: ink_well 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/render_box.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/resources/display_list.dart
diff --git a/sky/tests/resources/display_list.dart b/sky/tests/resources/display_list.dart
index 67a1ef7c7a0e80bf6ec2879a426c3dea33bb8f27..3f4ae2b24c34fa39510e3027ec7a30ae11da8c69 100644
--- a/sky/tests/resources/display_list.dart
+++ b/sky/tests/resources/display_list.dart
@@ -23,7 +23,7 @@ class TestDisplayList extends RenderNodeDisplayList {
}
String explainPaint(sky.Paint paint) {
- return "Paint(0x${paint.color.toRadixString(16).padLeft(8, '0')})";
+ return "Paint(0x${paint.color.value.toRadixString(16).padLeft(8, '0')})";
}
void save() {
« no previous file with comments | « sky/sdk/lib/framework/rendering/render_box.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698