| Index: tools/dom/templates/html/impl/impl_Window.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Window.darttemplate b/tools/dom/templates/html/impl/impl_Window.darttemplate
|
| index d891762e968cf8a5c55c2ad3f3a1b4ae2cef12aa..0b64409772aac93dc6be3cc61f5488a0a2883627 100644
|
| --- a/tools/dom/templates/html/impl/impl_Window.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Window.darttemplate
|
| @@ -113,7 +113,7 @@ $if DART2JS
|
| * for the animation to continue.
|
| */
|
| @DomName('Window.requestAnimationFrame')
|
| - int requestAnimationFrame(RequestAnimationFrameCallback callback) {
|
| + int requestAnimationFrame(FrameRequestCallback callback) {
|
| _ensureRequestAnimationFrame();
|
| return _requestAnimationFrame(_wrapZone(callback));
|
| }
|
| @@ -132,7 +132,7 @@ $if DART2JS
|
| }
|
|
|
| @JSName('requestAnimationFrame')
|
| - int _requestAnimationFrame(RequestAnimationFrameCallback callback) native;
|
| + int _requestAnimationFrame(FrameRequestCallback callback) native;
|
|
|
| @JSName('cancelAnimationFrame')
|
| void _cancelAnimationFrame(int id) native;
|
| @@ -200,7 +200,7 @@ $else
|
| * for the animation to continue.
|
| */
|
| @DomName('Window.requestAnimationFrame')
|
| - int requestAnimationFrame(RequestAnimationFrameCallback callback) {
|
| + int requestAnimationFrame(FrameRequestCallback callback) {
|
| return _requestAnimationFrame(_wrapZone(callback));
|
| }
|
| $endif
|
|
|