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

Unified Diff: samples/third_party/dromaeo/common/Interval.dart

Issue 10919146: Get rid of a lot of () for getters. (Closed) Base URL: https://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
Index: samples/third_party/dromaeo/common/Interval.dart
diff --git a/samples/third_party/dromaeo/common/Interval.dart b/samples/third_party/dromaeo/common/Interval.dart
index ba76be8d7e5e06ccb3450de63df990bcfd8c2c68..47f1f68a9dec8a4d4b18b7b6f50d5fda66eb6f3d 100644
--- a/samples/third_party/dromaeo/common/Interval.dart
+++ b/samples/third_party/dromaeo/common/Interval.dart
@@ -19,12 +19,12 @@ class Interval {
}
// Microseconds from between start() and stop().
- int get elapsedMicrosec() {
+ int get elapsedMicrosec {
return (_stop - _start) * 1000;
}
// Milliseconds from between start() and stop().
- int get elapsedMillisec() {
+ int get elapsedMillisec {
return (_stop - _start);
}
}
« no previous file with comments | « samples/third_party/dromaeo/common/BenchUtil.dart ('k') | samples/third_party/todomvc/scripts/components.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698