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

Unified Diff: sky/sdk/example/rendering/baseline.dart

Issue 1215163003: Random cleanup of various Dart things in our tree. (Closed) Base URL: https://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/sdk/example/raw/hello_world.dart ('k') | sky/sdk/example/rendering/justify_content.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/rendering/baseline.dart
diff --git a/sky/sdk/example/rendering/baseline.dart b/sky/sdk/example/rendering/baseline.dart
index 2c52239597d987870f5f552bae8128530659c818..303972c8d7f584460f6de7eb3a7bbaae240fcb81 100644
--- a/sky/sdk/example/rendering/baseline.dart
+++ b/sky/sdk/example/rendering/baseline.dart
@@ -14,12 +14,13 @@ import 'package:sky/rendering/sky_binding.dart';
RenderBox getBox(double lh) {
RenderParagraph paragraph = new RenderParagraph(
new InlineStyle(
- new TextStyle(),
+ new TextStyle(
+ color: const Color(0xFF0000A0)
+ ),
[
new InlineText('test'),
new InlineStyle(
new TextStyle(
- color: const Color(0xFF0000A0),
fontFamily: 'serif',
fontSize: 50.0,
height: lh
@@ -73,6 +74,5 @@ void main() {
getBox(1.0),
getBox(null),
]);
- var b = new SkyBinding(root: root);
- // b.onFrame = b.debugDumpRenderTree;
+ new SkyBinding(root: root);
}
« no previous file with comments | « sky/sdk/example/raw/hello_world.dart ('k') | sky/sdk/example/rendering/justify_content.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698