| Index: packages/charted/lib/core/timer.dart
|
| diff --git a/packages/charted/lib/core/timer.dart b/packages/charted/lib/core/timer.dart
|
| index 93856ddab9ccad2aa9ce4aa015c8f092fbc0d691..0e3c6408dc4a37cb604ffe56a19f57570700b85e 100644
|
| --- a/packages/charted/lib/core/timer.dart
|
| +++ b/packages/charted/lib/core/timer.dart
|
| @@ -16,7 +16,7 @@ import 'dart:collection';
|
|
|
| typedef bool TimerCallback(int time);
|
|
|
| -class AnimationTimer extends LinkedListEntry {
|
| +class AnimationTimer extends LinkedListEntry<AnimationTimer> {
|
| static LinkedList<AnimationTimer> _queue = new LinkedList<AnimationTimer>();
|
|
|
| /// true if we are already waiting for window.animationFrame. At any given
|
| @@ -78,7 +78,7 @@ class AnimationTimer extends LinkedListEntry {
|
| }
|
|
|
| /// Internal timer and animation frame handler.
|
| - _step([_]) {
|
| + _step([num _]) {
|
| int delay = flush();
|
|
|
| if (delay == null) {
|
|
|