Index: samples/swarm/swarm_ui_lib/base/AnimationScheduler.dart |
diff --git a/samples/swarm/swarm_ui_lib/base/AnimationScheduler.dart b/samples/swarm/swarm_ui_lib/base/AnimationScheduler.dart |
index 2f2c7a36e56e337224002fbcfcc4ed46bc3d316e..7d081e010f539b813c81868e15adb00381ccb934 100644 |
--- a/samples/swarm/swarm_ui_lib/base/AnimationScheduler.dart |
+++ b/samples/swarm/swarm_ui_lib/base/AnimationScheduler.dart |
@@ -125,7 +125,7 @@ class AnimationScheduler { |
_setupInterval(); |
} |
int numRemaining = 0; |
- int minTime = new Date.now().millisecondsSinceEpoch + MS_PER_FRAME; |
+ int minTime = new DateTime.now().millisecondsSinceEpoch + MS_PER_FRAME; |
int len = _callbacks.length; |
for (final callback in _callbacks) { |