Index: samples/solar3d/web/solar.dart |
diff --git a/samples/solar3d/web/solar.dart b/samples/solar3d/web/solar.dart |
index bcc54ec81f1e36fd9e4c9ad9b84b8046d70deabc..3522d9b524c32ab7ef13f3a2a94090374f274305 100644 |
--- a/samples/solar3d/web/solar.dart |
+++ b/samples/solar3d/web/solar.dart |
@@ -221,7 +221,7 @@ class Solar3DApplication { |
num renderTime; |
void update(double time) { |
- num t = new Date.now().millisecondsSinceEpoch; |
+ num t = new DateTime.now().millisecondsSinceEpoch; |
if (renderTime != null) { |
showFps((1000 / (t - renderTime)).round()); |