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

Unified Diff: tools/testing/legpad/legpad.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: Apply suggestions. 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
Index: tools/testing/legpad/legpad.dart
diff --git a/tools/testing/legpad/legpad.dart b/tools/testing/legpad/legpad.dart
index e6f0d2affb1a3d189917bdb1a7e27880e8b069c4..0db1ffbabd80c7eb5739603ba1378c53973631fd 100644
--- a/tools/testing/legpad/legpad.dart
+++ b/tools/testing/legpad/legpad.dart
@@ -71,7 +71,7 @@ class Legpad {
setText("input", readAll(mainFile));
Stopwatch stopwatch = new Stopwatch()..start();
runLeg();
- int elapsedMillis = stopwatch.elapsedInMs();
+ int elapsedMillis = stopwatch.elapsedMilliseconds;
if (output === null) {
output = "throw 'dart2js compilation error';\n";
}

Powered by Google App Engine
This is Rietveld 408576698