Chromium Code Reviews| Index: tools/testing/legpad/legpad.dart |
| =================================================================== |
| --- tools/testing/legpad/legpad.dart (revision 11786) |
| +++ tools/testing/legpad/legpad.dart (working copy) |
| @@ -69,7 +69,7 @@ |
| void run() { |
| String mainFile = getText(MAIN_ID); |
| setText("input", readAll(mainFile)); |
| - Stopwatch stopwatch = new Stopwatch.start(); |
| + Stopwatch stopwatch = new Stopwatch()..start(); |
| runLeg(); |
| int elapsedMillis = stopwatch.elapsedInMs(); |
| if (output === null) { |