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

Unified Diff: frog/world.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/world.dart
diff --git a/frog/world.dart b/frog/world.dart
index 5b652e45f55af552f62c904b32d4bcb58caf8635..a6a8bffe57325977db32072ce7fc016f7c92d083 100644
--- a/frog/world.dart
+++ b/frog/world.dart
@@ -433,7 +433,7 @@ class World {
}
withTiming(String name, f()) {
- final sw = new StopWatch();
+ final sw = new Stopwatch();
sw.start();
var result = f();
sw.stop();

Powered by Google App Engine
This is Rietveld 408576698