| Index: tools/dom/templates/html/dart2js/impl_Window.darttemplate
|
| diff --git a/tools/dom/templates/html/dart2js/impl_Window.darttemplate b/tools/dom/templates/html/dart2js/impl_Window.darttemplate
|
| index 9f0de14999f8d516e486ce6486e86f643fc34e3e..ce1074030360772d04a0ff8f621e0e978edb9d3d 100644
|
| --- a/tools/dom/templates/html/dart2js/impl_Window.darttemplate
|
| +++ b/tools/dom/templates/html/dart2js/impl_Window.darttemplate
|
| @@ -114,7 +114,7 @@ $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
|
| if ($this.requestAnimationFrame && $this.cancelAnimationFrame) return;
|
| $this.requestAnimationFrame = function(callback) {
|
| return window.setTimeout(function() {
|
| - callback(Date.now());
|
| + callback(DateTime.now());
|
| }, 16 /* 16ms ~= 60fps */);
|
| };
|
| $this.cancelAnimationFrame = function(id) { clearTimeout(id); }
|
|
|