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

Unified Diff: samples/swarm/swarm_ui_lib/base/AnimationScheduler.dart

Issue 11770004: Rename Date to DateTime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and keep Backwards-compatibility class Date. Created 7 years, 11 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 | « samples/swarm/DataSource.dart ('k') | samples/swarm/swarm_ui_lib/touch/TimeUtil.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « samples/swarm/DataSource.dart ('k') | samples/swarm/swarm_ui_lib/touch/TimeUtil.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698