| Index: samples/third_party/dromaeo/Dromaeo.dart
|
| diff --git a/samples/third_party/dromaeo/Dromaeo.dart b/samples/third_party/dromaeo/Dromaeo.dart
|
| index 8f7593f0993ac91ed727b9a28fa282c3183d22a4..2428f39ae06175acb0cd23106ebd88b4988714d0 100644
|
| --- a/samples/third_party/dromaeo/Dromaeo.dart
|
| +++ b/samples/third_party/dromaeo/Dromaeo.dart
|
| @@ -155,8 +155,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}';
|
|
|
|
|