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

Unified Diff: samples/solar3d/web/solar.dart

Issue 11748016: Make ~/, round, ceil, floor, truncate return ints. Remove toInt. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Checked mode fixes. Created 7 years, 12 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: samples/solar3d/web/solar.dart
diff --git a/samples/solar3d/web/solar.dart b/samples/solar3d/web/solar.dart
index 77b6cc2b56eb8ba0fefb0b5a1d27f579cdceb4cb..62b25182ff5d22159b939fb0612137623b2efb12 100644
--- a/samples/solar3d/web/solar.dart
+++ b/samples/solar3d/web/solar.dart
@@ -271,7 +271,7 @@ void showFps(num fps) {
fpsAverage = fps * 0.05 + fpsAverage * 0.95;
- query("#notes").text = "${fpsAverage.round().toInt()} fps";
+ query("#notes").text = "${fpsAverage.round()} fps";
}
/**

Powered by Google App Engine
This is Rietveld 408576698