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

Unified Diff: sky/sdk/example/stocks/lib/main.dart

Issue 1216973005: Turn off the code that is forcing stocksapp to build 50 times a second, and change the code that tr… (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 | « no previous file | sky/sdk/lib/widgets/widget.dart » ('j') | sky/sdk/lib/widgets/widget.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/stocks/lib/main.dart
diff --git a/sky/sdk/example/stocks/lib/main.dart b/sky/sdk/example/stocks/lib/main.dart
index 50790827b3753ccc180199d9904a8bf7bd687c0d..2cb9f2a6b76db39abd2c5c6ceb08637c2cb9aff1 100644
--- a/sky/sdk/example/stocks/lib/main.dart
+++ b/sky/sdk/example/stocks/lib/main.dart
@@ -86,7 +86,7 @@ class StocksApp extends App {
void main() {
print("starting stocks app!");
- runApp(new StocksApp(), enableProfilingLoop: true);
+ runApp(new StocksApp(), enableProfilingLoop: false);
abarth-chromium 2015/06/29 22:39:57 Can we delete the named parameter now that we're p
// set enableProfilingLoop to true to make the app rebuild continually every 20ms
SkyBinding.instance.onFrame = () {
// uncomment this to print the RenderObject tree every frame:
« no previous file with comments | « no previous file | sky/sdk/lib/widgets/widget.dart » ('j') | sky/sdk/lib/widgets/widget.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698