Index: lib/compiler/samples/leap/leap_leg.dart |
diff --git a/lib/compiler/samples/leap/leap_leg.dart b/lib/compiler/samples/leap/leap_leg.dart |
index 5890ab97293f43c15918b89b6afc2a23a98a1588..c04f674e6e373f77fde2d7f8bbe544b675f9ef9f 100644 |
--- a/lib/compiler/samples/leap/leap_leg.dart |
+++ b/lib/compiler/samples/leap/leap_leg.dart |
@@ -127,7 +127,7 @@ class Runner { |
Stopwatch sw = new Stopwatch()..start(); |
compiler.scanBuiltinLibraries(); |
sw.stop(); |
- return 'Scanned core libraries in ${sw.elapsedInMs()}ms'; |
+ return 'Scanned core libraries in ${sw.elapsedMilliseconds}ms'; |
} |
String update(String codeText) { |
@@ -197,7 +197,7 @@ class Runner { |
} |
} |
- compiler.log("Outline ${sw.elapsedInMs()}"); |
+ compiler.log("Outline ${sw.elapsedMilliseconds}"); |
return sb.toString(); |
} |
@@ -270,7 +270,7 @@ class LeapCompiler extends Compiler { |
log('compilation failed'); |
return null; |
} |
- log('compilation succeeded: ${sw.elapsedInMs()}ms'); |
+ log('compilation succeeded: ${sw.elapsedMilliseconds}ms'); |
return e; |
} |