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

Unified Diff: utils/template/tool.dart

Issue 11265024: Make methods in Stopwatch getters and rename to be more consistent. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 | « utils/css/world.dart ('k') | utils/template/world.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/template/tool.dart
diff --git a/utils/template/tool.dart b/utils/template/tool.dart
index 439c2630f12af3ce00d89e4954637fca533fa970..e9499623eee1523f1ed508993b916876951fe074 100644
--- a/utils/template/tool.dart
+++ b/utils/template/tool.dart
@@ -18,7 +18,7 @@ num time(callback()) {
watch.start();
callback();
watch.stop();
- return watch.elapsedInMs();
+ return watch.elapsedMilliseconds;
}
String GREEN_COLOR = '\u001b[32m';
« no previous file with comments | « utils/css/world.dart ('k') | utils/template/world.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698