Index: samples/third_party/dromaeo/Dromaeo.dart |
diff --git a/samples/third_party/dromaeo/Dromaeo.dart b/samples/third_party/dromaeo/Dromaeo.dart |
index e9bcf4f89a2116a74f1ed54ddeb3e27e1790c6aa..67642e9663afc416f94e1b791e4c17da40f4d159 100644 |
--- a/samples/third_party/dromaeo/Dromaeo.dart |
+++ b/samples/third_party/dromaeo/Dromaeo.dart |
@@ -147,8 +147,8 @@ class Dromaeo { |
// TODO(jat): Remove void type below. Bug 5269037. |
void _updateTime() { |
- final mins = (estimatedTimeSecs / 60).floor().toInt(); |
- final secs = (estimatedTimeSecs - mins * 60).round().toInt(); |
+ final mins = (estimatedTimeSecs / 60).floor(); |
+ final secs = (estimatedTimeSecs - mins * 60).round(); |
final secsAsString = '${(secs < 10 ? "0" : "")}$secs'; |
_byId('left').innerHtml = '${mins}:${secsAsString}'; |