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

Unified Diff: packages/charted/lib/core/timer.dart

Issue 2213693002: Updated charted DEP to 0.4.X (Closed) Base URL: https://github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « packages/charted/lib/core/text_metrics/segmentation.dart ('k') | packages/charted/lib/core/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « packages/charted/lib/core/text_metrics/segmentation.dart ('k') | packages/charted/lib/core/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698