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

Unified Diff: frog/leg/compiler.dart

Issue 8537011: Rename StopWatch to Stopwatch. Add new Stopwatch.start() and Stopwatch.reset(). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Make StopwatchTest diffable. Created 9 years, 1 month 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: frog/leg/compiler.dart
diff --git a/frog/leg/compiler.dart b/frog/leg/compiler.dart
index a38105c8475b86bdee235da4cb266ec83d7d66e5..b781c9e8a03eb8faee74bae0d4b8dcf37e3bc03d 100644
--- a/frog/leg/compiler.dart
+++ b/frog/leg/compiler.dart
@@ -118,9 +118,9 @@ class Compiler implements Canceler, Logger {
class CompilerTask {
final Compiler compiler;
- final StopWatch watch;
+ final Stopwatch watch;
- CompilerTask(this.compiler) : watch = new StopWatch();
+ CompilerTask(this.compiler) : watch = new Stopwatch();
String get name() => 'Unknown task';
int get timing() => watch.elapsedInMs();

Powered by Google App Engine
This is Rietveld 408576698