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

Unified Diff: sky/examples/widgets/sector.dart

Issue 1187393002: Cleanup of SkyBinding, and resultant yak shaving. (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/examples/stocks2/lib/stock_app.dart ('k') | sky/examples/widgets/spinning_mixed.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/widgets/sector.dart
diff --git a/sky/examples/widgets/sector.dart b/sky/examples/widgets/sector.dart
index efd0521ed642776ffcb214e1f9ccc37be4fbcb08..e2c33acb2cf462d0f95ebdac0f4dbec40a9c8f77 100644
--- a/sky/examples/widgets/sector.dart
+++ b/sky/examples/widgets/sector.dart
@@ -6,6 +6,7 @@ import 'dart:math' as math;
import 'package:sky/rendering/box.dart';
import 'package:sky/rendering/flex.dart';
+import 'package:sky/rendering/sky_binding.dart';
import 'package:sky/theme2/colors.dart';
import 'package:sky/theme2/edges.dart';
import 'package:sky/theme2/typography.dart';
@@ -136,8 +137,8 @@ class SectorApp extends App {
void main() {
runApp(new SectorApp());
- WidgetSkyBinding.skyBinding.onFrame = () {
+ SkyBinding.instance.onFrame = () {
// uncomment this for debugging:
- // WidgetSkyBinding.skyBinding.debugDumpRenderTree();
+ // SkyBinding.instance.debugDumpRenderTree();
};
}
« no previous file with comments | « sky/examples/stocks2/lib/stock_app.dart ('k') | sky/examples/widgets/spinning_mixed.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698