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

Unified Diff: sky/sdk/example/widgets/styled_text.dart

Issue 1237623004: Remove onFrame callback (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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/sdk/example/widgets/styled_text.dart
diff --git a/sky/sdk/example/widgets/styled_text.dart b/sky/sdk/example/widgets/styled_text.dart
index b417d0be433f2e3f4cd744ed1371f08a24f82cd7..c2901a147a5750f18a1014ce01f9dacccc1cf0ca 100644
--- a/sky/sdk/example/widgets/styled_text.dart
+++ b/sky/sdk/example/widgets/styled_text.dart
@@ -49,7 +49,7 @@ HAL: This mission is too important for me to allow you to jeopardize it.''';
decorationColor: const Color(0xFF000000),
decorationStyle: TextDecorationStyle.wavy
);
-
+
Component toStyledText(String name, String text) {
TextStyle lineStyle = (name == "Dave") ? daveStyle : halStyle;
return new StyledText(
@@ -122,8 +122,4 @@ HAL: This mission is too important for me to allow you to jeopardize it.''';
void main() {
runApp(new StyledTextApp());
- SkyBinding.instance.onFrame = () {
- // uncomment this for debugging:
- // SkyBinding.instance.debugDumpRenderTree();
- };
}

Powered by Google App Engine
This is Rietveld 408576698