Chromium Code Reviews| Index: lib/html/templates/html/dart2js/impl_Window.darttemplate |
| =================================================================== |
| --- lib/html/templates/html/dart2js/impl_Window.darttemplate (revision 12823) |
| +++ lib/html/templates/html/dart2js/impl_Window.darttemplate (working copy) |
| @@ -91,10 +91,9 @@ |
| } |
| int _requestAnimationFrame(RequestAnimationFrameCallback callback) |
| - native 'requestAnimationFrame'; |
| + native 'webkitRequestAnimationFrame'; |
|
blois
2012/09/25 17:52:28
This should be requestAnimationFrame.
|
| - void _cancelAnimationFrame(int id) |
| - native 'cancelAnimationFrame'; |
| + void _cancelAnimationFrame(int id) native 'webkitCancelAnimationFrame'; |
| _ensureRequestAnimationFrame() native ''' |
| if (this.requestAnimationFrame && this.cancelAnimationFrame) return; |