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

Unified Diff: tools/testing/legpad/legpad.dart

Issue 10908066: - Removed named constructor Stopwatch.start() due to conflict with instance methods start(). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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
« lib/core/stopwatch.dart ('K') | « samples/newissues/newissues.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« lib/core/stopwatch.dart ('K') | « samples/newissues/newissues.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698